Index: third_party/WebKit/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp |
diff --git a/third_party/WebKit/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp |
index 7a984be585448bd2fde9f0c5b5a0de21003fad14..4f0ce8afae6d69b751fba4c4ff78e2fb52718d9d 100644 |
--- a/third_party/WebKit/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp |
+++ b/third_party/WebKit/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp |
@@ -342,8 +342,8 @@ bool SerializedScriptValueReaderForModules::readDOMFileSystem(v8::Local<v8::Valu |
return false; |
if (!readWebCoreString(&url)) |
return false; |
- DOMFileSystem* fs = DOMFileSystem::create(scriptState()->executionContext(), name, static_cast<FileSystemType>(type), KURL(ParsedURLString, url)); |
- *value = toV8(fs, scriptState()->context()->Global(), isolate()); |
+ DOMFileSystem* fs = DOMFileSystem::create(getScriptState()->getExecutionContext(), name, static_cast<FileSystemType>(type), KURL(ParsedURLString, url)); |
+ *value = toV8(fs, getScriptState()->context()->Global(), isolate()); |
return !value->IsEmpty(); |
} |
@@ -400,7 +400,7 @@ bool SerializedScriptValueReaderForModules::readCryptoKey(v8::Local<v8::Value>* |
return false; |
} |
- *value = toV8(CryptoKey::create(key), scriptState()->context()->Global(), isolate()); |
+ *value = toV8(CryptoKey::create(key), getScriptState()->context()->Global(), isolate()); |
return !value->IsEmpty(); |
} |