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

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

Issue 2291723002: Manually rename \<m_[0-9]... fields to help rewrite_to_chrome_style tool. (Closed)
Patch Set: Created 4 years, 4 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/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index 597217d7f052d8c319099a8631d94493b8b438c2..879e4578873d86e2ec4f81b696bd4746b73ce923 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -1588,7 +1588,7 @@ void WebGLRenderingContextBase::bindTexture(ScriptState* scriptState, GLenum tar
drawingBuffer()->setTexture2DBinding(objectOrZero(texture));
if (scriptState) {
hiddenValueName = V8HiddenValue::webgl2DTextures(scriptState->isolate());
- persistentCache = &m_2DTextureWrappers;
+ persistentCache = &m_wrappersOf2DTextures;
}
} else if (target == GL_TEXTURE_CUBE_MAP) {
m_textureUnits[m_activeTextureUnit].m_textureCubeMapBinding = texture;
@@ -1600,13 +1600,13 @@ void WebGLRenderingContextBase::bindTexture(ScriptState* scriptState, GLenum tar
m_textureUnits[m_activeTextureUnit].m_texture2DArrayBinding = texture;
if (scriptState) {
hiddenValueName = V8HiddenValue::webgl2DArrayTextures(scriptState->isolate());
- persistentCache = &m_2DArrayTextureWrappers;
+ persistentCache = &m_wrappersOf2DArrayTextures;
}
} else if (isWebGL2OrHigher() && target == GL_TEXTURE_3D) {
m_textureUnits[m_activeTextureUnit].m_texture3DBinding = texture;
if (scriptState) {
hiddenValueName = V8HiddenValue::webgl3DTextures(scriptState->isolate());
- persistentCache = &m_3DTextureWrappers;
+ persistentCache = &m_wrappersOf3DTextures;
}
} else {
synthesizeGLError(GL_INVALID_ENUM, "bindTexture", "invalid target");

Powered by Google App Engine
This is Rietveld 408576698