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

Unified Diff: Source/core/html/canvas/WebGLSharedObject.h

Issue 365653002: Oilpan: move 2D Canvas and WebGL objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 6 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/html/canvas/WebGLSharedObject.h
diff --git a/Source/core/html/canvas/WebGLSharedObject.h b/Source/core/html/canvas/WebGLSharedObject.h
index 990c8ae1565949339baaf7b4b428c0e1a5c93a32..92c8681a7b1e7df4249013a3c520d9c9b53ac483 100644
--- a/Source/core/html/canvas/WebGLSharedObject.h
+++ b/Source/core/html/canvas/WebGLSharedObject.h
@@ -54,6 +54,8 @@ public:
void detachContextGroup();
+ virtual void trace(Visitor*) OVERRIDE;
+
protected:
WebGLSharedObject(WebGLRenderingContextBase*);
@@ -65,7 +67,7 @@ protected:
virtual blink::WebGraphicsContext3D* getAWebGraphicsContext3D() const OVERRIDE FINAL;
private:
- WebGLContextGroup* m_contextGroup;
+ RawPtrWillBeMember<WebGLContextGroup> m_contextGroup;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698