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

Unified Diff: third_party/WebKit/Source/core/testing/DictionaryTest.cpp

Issue 2616923002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Fix errors Created 3 years, 11 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/testing/DictionaryTest.cpp
diff --git a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
index 353559639b5d1f2323daa0e0e85124e208cc9ce7..07dea6b738fca23238a6c950563b1d1d11ea185b 100644
--- a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
+++ b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
@@ -4,6 +4,7 @@
#include "core/testing/DictionaryTest.h"
+#include "bindings/core/v8/ScriptState.h"
#include "bindings/core/v8/V8ObjectBuilder.h"
#include "core/testing/InternalDictionary.h"
#include "core/testing/InternalDictionaryDerived.h"
@@ -165,10 +166,11 @@ void DictionaryTest::getDerivedDerived(
}
String DictionaryTest::stringFromIterable(
- ExecutionContext* executionContext,
+ ScriptState* scriptState,
Dictionary iterable,
ExceptionState& exceptionState) const {
StringBuilder result;
+ ExecutionContext* executionContext = scriptState->getExecutionContext();
DictionaryIterator iterator = iterable.getIterator(executionContext);
if (iterator.isNull())
return emptyString();
« no previous file with comments | « third_party/WebKit/Source/core/testing/DictionaryTest.h ('k') | third_party/WebKit/Source/core/testing/DictionaryTest.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698