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

Unified Diff: third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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/dom/ActiveDOMObjectTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp b/third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp
index 6874996ad394bc35ad286ab26ef02ed1f6e301df..1fe41bffacdbd2ce013f8f00e277948071e3cc06 100644
--- a/third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp
@@ -51,7 +51,7 @@ class MockActiveDOMObject final
MOCK_METHOD0(suspend, void());
MOCK_METHOD0(resume, void());
- MOCK_METHOD0(stop, void());
+ MOCK_METHOD0(contextDestroyed, void());
};
class ActiveDOMObjectTest : public ::testing::Test {
@@ -101,7 +101,7 @@ TEST_F(ActiveDOMObjectTest, MoveToSuspendedDocument) {
TEST_F(ActiveDOMObjectTest, MoveToStoppedDocument) {
destDocument().shutdown();
- EXPECT_CALL(activeDOMObject(), stop());
+ EXPECT_CALL(activeDOMObject(), contextDestroyed());
activeDOMObject().didMoveToNewExecutionContext(&destDocument());
}

Powered by Google App Engine
This is Rietveld 408576698