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

Unified Diff: Source/core/html/canvas/WebGLRenderingContextBase.cpp

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 6 years, 8 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: Source/core/html/canvas/WebGLRenderingContextBase.cpp
diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.cpp b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
index 1d515ad3835ca1a6a3c58e56511bcc77ba0cd531..ed3f02c5a4e7a48a334d62d5a6c140ac50649c4e 100644
--- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp
+++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
@@ -701,11 +701,13 @@ WebGLRenderingContextBase::~WebGLRenderingContextBase()
destroyContext();
+#if !ENABLE(OILPAN)
if (m_multisamplingObserverRegistered) {
Page* page = canvas()->document().page();
if (page)
page->removeMultisamplingChangedObserver(this);
}
+#endif
willDestroyContext(this);
}

Powered by Google App Engine
This is Rietveld 408576698