Index: third_party/WebKit/Source/core/css/MediaQueryList.cpp |
diff --git a/third_party/WebKit/Source/core/css/MediaQueryList.cpp b/third_party/WebKit/Source/core/css/MediaQueryList.cpp |
index a2fc8eefb31ef9c54f19c8d51813773c57a00488..5b17f10f8a1ff025d7dc14bcee1b98a87635127d 100644 |
--- a/third_party/WebKit/Source/core/css/MediaQueryList.cpp |
+++ b/third_party/WebKit/Source/core/css/MediaQueryList.cpp |
@@ -86,7 +86,7 @@ bool MediaQueryList::hasPendingActivity() const { |
return m_listeners.size() || hasEventListeners(EventTypeNames::change); |
} |
-void MediaQueryList::stop() { |
+void MediaQueryList::contextDestroyed() { |
m_listeners.clear(); |
removeAllEventListeners(); |
} |