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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp

Issue 2552993002: Rename activeDOMObjectsAreStopped to isContextDestroyed (Closed)
Patch Set: Created 4 years 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/bindings/core/v8/ScriptPromisePropertyTest.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
index 6446e1ea8bcd3d5892349500e40342bbd01af2ea..16b5739114257ec71b38d72d07a4b2da12cbd876 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
@@ -375,9 +375,8 @@ TEST_F(ScriptPromisePropertyGarbageCollectedTest, Resolve_DeadContext) {
}
destroyContext();
- EXPECT_TRUE(
- !getProperty()->getExecutionContext() ||
- getProperty()->getExecutionContext()->activeDOMObjectsAreStopped());
+ EXPECT_TRUE(!getProperty()->getExecutionContext() ||
+ getProperty()->getExecutionContext()->isContextDestroyed());
getProperty()->resolve(new GarbageCollectedScriptWrappable("value"));
EXPECT_EQ(Property::Pending, getProperty()->getState());

Powered by Google App Engine
This is Rietveld 408576698