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

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

Issue 2273683003: Use visitDOMWrapper to preserve WebGL JS object wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style Created 4 years, 3 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: third_party/WebKit/Source/modules/webgl/WebGLProgram.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLProgram.h b/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
index db01e93eb9083f12d9bb2df74e1e56200be6431c..5cc85ab19ce7750c44e582725718fb0396687705 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
@@ -26,7 +26,6 @@
#ifndef WebGLProgram_h
#define WebGLProgram_h
-#include "bindings/core/v8/ScopedPersistent.h"
#include "modules/webgl/WebGLShader.h"
#include "modules/webgl/WebGLSharedPlatform3DObject.h"
#include "wtf/PassRefPtr.h"
@@ -59,7 +58,7 @@ public:
bool attachShader(WebGLShader*);
bool detachShader(WebGLShader*);
- ScopedPersistent<v8::Array>* getPersistentCache();
+ virtual void visitChildDOMWrappers(v8::Isolate*, const v8::Persistent<v8::Object>&);
DECLARE_VIRTUAL_TRACE();
@@ -87,8 +86,6 @@ private:
Member<WebGLShader> m_fragmentShader;
bool m_infoValid;
-
- ScopedPersistent<v8::Array> m_shaderWrappers;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLObject.h ('k') | third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698