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

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

Issue 869323003: Oilpan: move RenderObjects off heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review-induced improvements Created 5 years, 10 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/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerReflectionInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayerReflectionInfo.h
diff --git a/Source/core/rendering/RenderLayerReflectionInfo.h b/Source/core/rendering/RenderLayerReflectionInfo.h
index 45772f60987934980333c5d2cee61e19fb42e855..23a3f291e80d27d333bcff63c073b1a647ac6aa1 100644
--- a/Source/core/rendering/RenderLayerReflectionInfo.h
+++ b/Source/core/rendering/RenderLayerReflectionInfo.h
@@ -54,12 +54,11 @@ namespace blink {
class RenderLayer;
class RenderReplica;
-class RenderLayerReflectionInfo : public NoBaseWillBeGarbageCollected<RenderLayerReflectionInfo> {
+class RenderLayerReflectionInfo {
WTF_MAKE_NONCOPYABLE(RenderLayerReflectionInfo);
public:
explicit RenderLayerReflectionInfo(RenderBox&);
void destroy();
- void trace(Visitor*);
RenderReplica* reflection() const { return m_reflection; }
RenderLayer* reflectionLayer() const;
@@ -74,8 +73,8 @@ private:
RenderBox& box() { return *m_box; }
const RenderBox& box() const { return *m_box; }
- RawPtrWillBeMember<RenderBox> m_box;
- RawPtrWillBeMember<RenderReplica> m_reflection;
+ RenderBox* m_box;
+ RenderReplica* m_reflection;
// A state bit tracking if we are painting inside a replica.
unsigned m_isPaintingInsideReflection : 1;
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerReflectionInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698