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

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

Issue 2023603003: Fix content scripts that use WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@yukishiino-v8privateproperty-fix
Patch Set: Rebased. 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/WebGLVertexArrayObjectBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h b/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h
index bcf2d1b2ce804ec894bf4b07cdb4252f1025cfad..7a1d1ac7f9255701e718854e904680eeb6cb82d6 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h
@@ -5,7 +5,6 @@
#ifndef WebGLVertexArrayObjectBase_h
#define WebGLVertexArrayObjectBase_h
-#include "bindings/core/v8/ScopedPersistent.h"
#include "modules/webgl/WebGLBuffer.h"
#include "modules/webgl/WebGLContextObject.h"
#include "platform/heap/Handle.h"
@@ -35,8 +34,6 @@ public:
void setArrayBufferForAttrib(GLuint, WebGLBuffer*);
void unbindBuffer(WebGLBuffer*);
- ScopedPersistent<v8::Array>* getPersistentCache();
-
DECLARE_VIRTUAL_TRACE();
protected:
@@ -54,10 +51,6 @@ private:
bool m_destructionInProgress;
Member<WebGLBuffer> m_boundElementArrayBuffer;
HeapVector<Member<WebGLBuffer>> m_arrayBufferList;
-
- // For preserving the wrappers of WebGLBuffer objects latched in
- // via vertexAttribPointer calls.
- ScopedPersistent<v8::Array> m_arrayBufferWrappers;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698