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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp

Issue 2810743003: Move ScriptState::GetExecutionContext (Part 3) (Closed)
Patch Set: Rebase Created 3 years, 8 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/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp
index 57eb85972003af2054b3bc1b28de6870189f9514..e7c5461473d163001f200585ebe0dd6e50bacde8 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp
@@ -5,6 +5,7 @@
#include "bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.h"
#include "bindings/modules/v8/serialization/WebCryptoSubTags.h"
+#include "core/dom/ExecutionContext.h"
#include "modules/crypto/CryptoKey.h"
#include "modules/filesystem/DOMFileSystem.h"
#include "modules/peerconnection/RTCCertificate.h"
@@ -34,7 +35,7 @@ ScriptWrappable* V8ScriptValueDeserializerForModules::ReadDOMObject(
if (!ReadUint32(&raw_type) || raw_type > kFileSystemTypeLast ||
!ReadUTF8String(&name) || !ReadUTF8String(&root_url))
return nullptr;
- return DOMFileSystem::Create(GetScriptState()->GetExecutionContext(),
+ return DOMFileSystem::Create(ExecutionContext::From(GetScriptState()),
name, static_cast<FileSystemType>(raw_type),
KURL(kParsedURLString, root_url));
}

Powered by Google App Engine
This is Rietveld 408576698