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

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: add more trace Created 6 years, 5 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
Index: Source/core/rendering/RenderWidget.h
diff --git a/Source/core/rendering/RenderWidget.h b/Source/core/rendering/RenderWidget.h
index 3c67b19d8e225a9d85071b712ddb4a3e484533d2..b2dd7e578c2ead994f6edfd1ede3d85e26dd2e00 100644
--- a/Source/core/rendering/RenderWidget.h
+++ b/Source/core/rendering/RenderWidget.h
@@ -38,10 +38,10 @@ public:
void widgetPositionsUpdated();
void setIsOverlapped(bool);
-
+#if !ENABLE(OILPAN)
void ref() { ++m_refCount; }
void deref();
-
+#endif
virtual bool isWidget() const OVERRIDE FINAL { return true; }
bool updateWidgetGeometry();
@@ -61,8 +61,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());

Powered by Google App Engine
This is Rietveld 408576698