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

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

Issue 2595543003: Rename toV8(...) function in Blink to ToV8(...). (Closed)
Patch Set: Rebasing... 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/bindings/core/v8/ScriptCustomElementDefinition.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp
index 5b020d90090bc109622aa25797c7168113f57f1e..fbe07df2e5add84a09a87b22f7e156d9c1224b21 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp
@@ -31,7 +31,7 @@ static v8::Local<v8::Map> ensureCustomElementRegistryMap(
CHECK(scriptState->world().isMainWorld());
v8::Local<v8::String> name =
V8HiddenValue::customElementsRegistryMap(scriptState->isolate());
- v8::Local<v8::Object> wrapper = toV8(registry, scriptState).As<v8::Object>();
+ v8::Local<v8::Object> wrapper = ToV8(registry, scriptState).As<v8::Object>();
v8::Local<v8::Value> map =
V8HiddenValue::getHiddenValue(scriptState, wrapper, name);
if (map.IsEmpty()) {
@@ -311,7 +311,7 @@ void ScriptCustomElementDefinition::runCallback(
ExecutionContext* executionContext = m_scriptState->getExecutionContext();
v8::Local<v8::Value> elementHandle =
- toV8(element, m_scriptState->context()->Global(), isolate);
+ ToV8(element, m_scriptState->context()->Global(), isolate);
V8ScriptRunner::callFunction(callback, executionContext, elementHandle, argc,
argv, isolate);
}
@@ -340,8 +340,8 @@ void ScriptCustomElementDefinition::runAdoptedCallback(Element* element,
ScriptState::Scope scope(m_scriptState.get());
v8::Isolate* isolate = m_scriptState->isolate();
v8::Local<v8::Value> argv[] = {
- toV8(oldOwner, m_scriptState->context()->Global(), isolate),
- toV8(newOwner, m_scriptState->context()->Global(), isolate)};
+ ToV8(oldOwner, m_scriptState->context()->Global(), isolate),
+ ToV8(newOwner, m_scriptState->context()->Global(), isolate)};
runCallback(m_adoptedCallback.newLocal(isolate), element,
WTF_ARRAY_LENGTH(argv), argv);
}
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/Maplike.h ('k') | third_party/WebKit/Source/bindings/core/v8/ScriptPromise.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698