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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryListTest.cpp

Issue 1808533003: Revert of Reduce ActiveDOMObjects from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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.
}
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryList.cpp ('k') | third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698