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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLContextObject.h

Issue 2561733002: Add WebGLContextObject::traceWrappers, and trace its context. (Closed)
Patch Set: Created 4 years 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 | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webgl/WebGLContextObject.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextObject.h b/third_party/WebKit/Source/modules/webgl/WebGLContextObject.h
index ca65a066de68902eaf463a5f0cb1469eb339a658..9e70743f62132e2837ae6869fa2a86a48a8b671b 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextObject.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLContextObject.h
@@ -26,6 +26,7 @@
#ifndef WebGLContextObject_h
#define WebGLContextObject_h
+#include "bindings/core/v8/TraceWrapperMember.h"
#include "modules/webgl/WebGLObject.h"
namespace blink {
@@ -43,6 +44,8 @@ class WebGLContextObject : public WebGLObject {
DECLARE_VIRTUAL_TRACE();
+ DECLARE_VIRTUAL_TRACE_WRAPPERS();
+
protected:
explicit WebGLContextObject(WebGLRenderingContextBase*);
@@ -53,7 +56,7 @@ class WebGLContextObject : public WebGLObject {
gpu::gles2::GLES2Interface* getAGLInterface() const final;
private:
- Member<WebGLRenderingContextBase> m_context;
+ TraceWrapperMember<WebGLRenderingContextBase> m_context;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698