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

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

Issue 1974713003: Speed up fix for expando-loss conformance test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add V8CopyablePersistent alias to avoid incorrect usage. 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 b237729618620aadb0160fb74b49d669b54a3973..d18a9221f306f4ca6690e0af67154d71359adb5a 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
@@ -58,6 +58,8 @@ public:
bool attachShader(WebGLShader*);
bool detachShader(WebGLShader*);
+ V8CopyablePersistent<v8::Array>* getPersistentCache();
+
DECLARE_VIRTUAL_TRACE();
protected:
@@ -84,6 +86,8 @@ private:
Member<WebGLShader> m_fragmentShader;
bool m_infoValid;
+
+ V8CopyablePersistent<v8::Array> m_shaderWrappers;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698