Bug 825866. Part 9: Remove Set/GetViewFlags since they're unused. r=tnikkel
authorRobert O'Callahan <robert@ocallahan.org>
Fri, 04 Jan 2013 02:23:12 +1300
changeset 117499 042de8e1b27c95f129099cf22d3456af1e547e60
parent 117498 504d70c1ca9cd8c150e977feca49970ee9513277
child 117500 92c800f3be8bfd8b18fbeb0434d49b7b74197332
push id20537
push userrocallahan@mozilla.com
push dateThu, 03 Jan 2013 21:31:05 +0000
treeherdermozilla-inbound@042de8e1b27c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstnikkel
bugs825866
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 825866. Part 9: Remove Set/GetViewFlags since they're unused. r=tnikkel
view/public/nsView.h
--- a/view/public/nsView.h
+++ b/view/public/nsView.h
@@ -371,19 +371,16 @@ public:
       NS_ASSERTION(!mParent || GetFloating(),
                    "Only display roots should have dirty regions");
       mDirtyRegion = new nsRegion();
       NS_ASSERTION(mDirtyRegion, "Out of memory!");
     }
     return mDirtyRegion;
   }
 
-  uint32_t GetViewFlags() const { return mVFlags; }
-  void SetViewFlags(uint32_t aFlags) { mVFlags = aFlags; }
-
   // nsIWidgetListener
   virtual nsIPresShell* GetPresShell() MOZ_OVERRIDE;
   virtual nsView* GetView() MOZ_OVERRIDE { return this; }
   virtual bool WindowMoved(nsIWidget* aWidget, int32_t x, int32_t y) MOZ_OVERRIDE;
   virtual bool WindowResized(nsIWidget* aWidget, int32_t aWidth, int32_t aHeight) MOZ_OVERRIDE;
   virtual bool RequestWindowClose(nsIWidget* aWidget) MOZ_OVERRIDE;
   virtual void WillPaintWindow(nsIWidget* aWidget, bool aWillSendDidPaint) MOZ_OVERRIDE;
   virtual bool PaintWindow(nsIWidget* aWidget, nsIntRegion aRegion, uint32_t aFlags) MOZ_OVERRIDE;