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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ToV8.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/ToV8.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8.cpp b/third_party/WebKit/Source/bindings/core/v8/ToV8.cpp
index a8f0e6fdb3a206cb72da41b1a2398a438ffbe620..3d70c56cf63e29cc305560f9acc7af5a593cc485 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.cpp
@@ -13,7 +13,7 @@
namespace blink {
-v8::Local<v8::Value> toV8(DOMWindow* window,
+v8::Local<v8::Value> ToV8(DOMWindow* window,
v8::Local<v8::Object> creationContext,
v8::Isolate* isolate) {
// Notice that we explicitly ignore creationContext because the DOMWindow
@@ -31,18 +31,18 @@ v8::Local<v8::Value> toV8(DOMWindow* window,
->globalIfNotDetached();
}
-v8::Local<v8::Value> toV8(EventTarget* impl,
+v8::Local<v8::Value> ToV8(EventTarget* impl,
v8::Local<v8::Object> creationContext,
v8::Isolate* isolate) {
if (UNLIKELY(!impl))
return v8::Null(isolate);
if (impl->interfaceName() == EventTargetNames::DOMWindow)
- return toV8(static_cast<DOMWindow*>(impl), creationContext, isolate);
- return toV8(static_cast<ScriptWrappable*>(impl), creationContext, isolate);
+ return ToV8(static_cast<DOMWindow*>(impl), creationContext, isolate);
+ return ToV8(static_cast<ScriptWrappable*>(impl), creationContext, isolate);
}
-v8::Local<v8::Value> toV8(WorkerOrWorkletGlobalScope* impl,
+v8::Local<v8::Value> ToV8(WorkerOrWorkletGlobalScope* impl,
v8::Local<v8::Object> creationContext,
v8::Isolate* isolate) {
// Notice that we explicitly ignore creationContext because the
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ToV8.h ('k') | third_party/WebKit/Source/bindings/core/v8/ToV8Test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698