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

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

Issue 1983953002: Replace uses of v8::Persistent with ScopedPersistent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 d18a9221f306f4ca6690e0af67154d71359adb5a..db01e93eb9083f12d9bb2df74e1e56200be6431c 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
@@ -26,6 +26,7 @@
#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"
@@ -58,7 +59,7 @@ public:
bool attachShader(WebGLShader*);
bool detachShader(WebGLShader*);
- V8CopyablePersistent<v8::Array>* getPersistentCache();
+ ScopedPersistent<v8::Array>* getPersistentCache();
DECLARE_VIRTUAL_TRACE();
@@ -87,7 +88,7 @@ private:
bool m_infoValid;
- V8CopyablePersistent<v8::Array> m_shaderWrappers;
+ 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