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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.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/WebGLFramebuffer.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
index 3907adb2466d53843daacef3021854eb72e290ad..e02ee03d47248752bd70fc04451ede7177212efe 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
@@ -94,6 +94,8 @@ public:
GLenum getReadBuffer() const { return m_readBuffer; }
+ v8::Persistent<v8::Array>* getPersistentCache();
+
DECLARE_VIRTUAL_TRACE();
protected:
@@ -127,6 +129,8 @@ private:
Vector<GLenum> m_filteredDrawBuffers;
GLenum m_readBuffer;
+
+ v8::Persistent<v8::Array> m_attachmentWrappers;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698