Index: third_party/WebKit/Source/core/css/MediaQueryListTest.cpp |
diff --git a/third_party/WebKit/Source/core/css/MediaQueryListTest.cpp b/third_party/WebKit/Source/core/css/MediaQueryListTest.cpp |
index 529c4b1ab816beedcd33e7e3044ede2b35899bda..b703b37484857d361551f0cb64453b019936ffe8 100644 |
--- a/third_party/WebKit/Source/core/css/MediaQueryListTest.cpp |
+++ b/third_party/WebKit/Source/core/css/MediaQueryListTest.cpp |
@@ -7,7 +7,6 @@ |
#include "core/css/MediaList.h" |
#include "core/css/MediaQueryListListener.h" |
#include "core/css/MediaQueryMatcher.h" |
-#include "core/dom/ActiveDOMObject.h" |
#include "core/dom/Document.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -27,7 +26,7 @@ |
RefPtrWillBeRawPtr<Document> document = Document::create(); |
RefPtrWillBeRawPtr<MediaQueryList> list = MediaQueryList::create(document.get(), MediaQueryMatcher::create(*document), MediaQuerySet::create()); |
list->addListener(adoptRefWillBeNoop(new TestListener())); |
- list->contextDestroyed(); |
+ list->stop(); |
// This test passes if it's not crashed. |
} |