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"); |