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

Unified Diff: Source/core/html/canvas/WebGLContextObject.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: Complete VectorTraits<> specialization for VertexAttribState 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/WebGLContextObject.h
diff --git a/Source/core/html/canvas/WebGLContextObject.h b/Source/core/html/canvas/WebGLContextObject.h
index 21be7a53d8a83e7066bda512c7692f4f29809b81..5bd62f4170b902c8c925776578301e4df9fd5724 100644
--- a/Source/core/html/canvas/WebGLContextObject.h
+++ b/Source/core/html/canvas/WebGLContextObject.h
@@ -51,6 +51,8 @@ public:
void detachContext();
+ virtual void trace(Visitor*) OVERRIDE;
+
protected:
WebGLContextObject(WebGLRenderingContextBase*);
@@ -62,7 +64,7 @@ protected:
virtual blink::WebGraphicsContext3D* getAWebGraphicsContext3D() const OVERRIDE FINAL;
private:
- WebGLRenderingContextBase* m_context;
+ RawPtrWillBeMember<WebGLRenderingContextBase> m_context;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698