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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698