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

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

Issue 1974713003: Speed up fix for expando-loss conformance test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review feedback from haraken. Use phantom persistents. 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/WebGLVertexArrayObject.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObject.h b/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObject.h
index 9ea18e22fe8791ab59360b755063574ae15cb862..f1b8b1d3ef40d1665b34f676b755d21b0bc65487 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObject.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObject.h
@@ -16,6 +16,10 @@ public:
private:
explicit WebGLVertexArrayObject(WebGLRenderingContextBase*, VaoType);
+
+ // For preserving the wrappers of WebGLBuffer objects latched in
+ // via vertexAttribPointer calls.
+ v8::Persistent<v8::Array> m_bufferWrappers;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698