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

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

Issue 2547813002: Remove WebGLObject maps from WebGLRenderingContextBase and WebGLContextGroup. (Closed)
Patch Set: Fixed WebGLContextObject::validate. Made WebGLExtension non-finalized. Created 4 years 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/WebGLTexture.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp b/third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp
index ecfb3d5641d5a17b95dad8b6df56ca47f5d20d96..51a3a69c31b8d8192e0d43c9e20fcbd3d4f8cfea 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp
@@ -42,8 +42,7 @@ WebGLTexture::WebGLTexture(WebGLRenderingContextBase* ctx)
}
WebGLTexture::~WebGLTexture() {
- // See the comment in WebGLObject::detachAndDeleteObject().
- detachAndDeleteObject();
+ runDestructor();
}
void WebGLTexture::setTarget(GLenum target) {

Powered by Google App Engine
This is Rietveld 408576698