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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp b/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
index ded5ebe759b0d8bd57c2337793d26bfcc7388dc3..a33e2b584062f8e9e5eb3981d8a1d4820287bd63 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
@@ -147,6 +147,11 @@ bool WebGLProgram::detachShader(WebGLShader* shader)
}
}
+V8CopyablePersistent<v8::Array>* WebGLProgram::getPersistentCache()
+{
+ return &m_shaderWrappers;
+}
+
void WebGLProgram::cacheInfoIfNeeded(WebGLRenderingContextBase* context)
{
if (m_infoValid)

Powered by Google App Engine
This is Rietveld 408576698