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

Unified Diff: Source/core/page/Page.cpp

Issue 214413010: Fixed crash with Multisample observer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index a5986abd7e881ebf5f3bb49056b6105c65251e86..ecb20aafd09791195c98747b400edb7877d27178 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -222,6 +222,7 @@ void Page::setMainFrame(PassRefPtr<LocalFrame> mainFrame)
void Page::documentDetached(Document* document)
{
+ m_multisamplingChangedObservers.clear();
m_pointerLockController->documentDetached(document);
m_contextMenuController->documentDetached(document);
if (m_validationMessageClient)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698