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

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

Issue 1508673002: Oilpan: remove unnecessary MultisamplingChangedObserver unregistration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only provide removeMultisamplingChangedObserver non-Oilpan Created 5 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
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1dcf1f6eece1fdad8f39eb7de12503728e32614c..7c36d8d6d0d6d031c77ed94e533a2836ad2678b3 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -1189,10 +1189,12 @@ WebGLRenderingContextBase::~WebGLRenderingContextBase()
destroyContext();
+#if !ENABLE(OILPAN)
if (m_multisamplingObserverRegistered) {
if (Page* page = canvas()->document().page())
page->removeMultisamplingChangedObserver(this);
}
+#endif
willDestroyContext(this);
}
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698