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

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: 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 a39ff73483b76d1be2e00c225771ce5d5fa4611f..1e58be7ba4979ac6ef4b317d8aa35105ee36bff6 100644
--- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp
+++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
@@ -697,11 +697,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