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

Unified Diff: Source/core/rendering/RenderLayerReflectionInfo.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/RenderLayerReflectionInfo.h
diff --git a/Source/core/rendering/RenderLayerReflectionInfo.h b/Source/core/rendering/RenderLayerReflectionInfo.h
index 51198a4482f29df8b33f4721c6fb0d3bb806d69a..4bc655d205f6d6e21447607f8afebde885241a32 100644
--- a/Source/core/rendering/RenderLayerReflectionInfo.h
+++ b/Source/core/rendering/RenderLayerReflectionInfo.h
@@ -72,8 +72,11 @@ public:
String debugName() const;
private:
- RenderBox& m_box;
- RenderReplica* m_reflection;
+ RenderBox& box() { return *m_box; }
+ const RenderBox& box() const { return *m_box; }
+
+ RawPtrWillBePersistent<RenderBox> m_box;
+ RawPtrWillBePersistent<RenderReplica> m_reflection;
// A state bit tracking if we are painting inside a replica.
unsigned m_isPaintingInsideReflection : 1;

Powered by Google App Engine
This is Rietveld 408576698