Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1297)

Unified Diff: Source/core/rendering/RenderWidget.h

Issue 423093002: Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: dispose -> destroy Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderView.cpp ('k') | Source/core/rendering/RenderWidget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderWidget.h
diff --git a/Source/core/rendering/RenderWidget.h b/Source/core/rendering/RenderWidget.h
index 8d9bce4ef9e937a6f7a32a38ac87071577b0524e..bef87cb0235f67b359098714afa7cc621f463b9e 100644
--- a/Source/core/rendering/RenderWidget.h
+++ b/Source/core/rendering/RenderWidget.h
@@ -37,9 +37,10 @@ public:
void updateWidgetPosition();
void widgetPositionsUpdated();
+#if !ENABLE(OILPAN)
void ref() { ++m_refCount; }
void deref();
-
+#endif
virtual bool isWidget() const OVERRIDE FINAL { return true; }
bool updateWidgetGeometry();
@@ -59,8 +60,9 @@ private:
virtual void destroy() OVERRIDE FINAL;
bool setWidgetGeometry(const LayoutRect&);
-
+#if !ENABLE(OILPAN)
int m_refCount;
+#endif
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderWidget, isWidget());
« no previous file with comments | « Source/core/rendering/RenderView.cpp ('k') | Source/core/rendering/RenderWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698