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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WindowProxy.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/WindowProxy.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
index c844933df3de3000ff9a7ca41652da2932386d81..69aae26cc7439d356c027922de5f987807095437 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
@@ -393,7 +393,7 @@ void WindowProxy::updateDocumentProperty() {
v8::Local<v8::Context> context = m_scriptState->context();
LocalFrame* frame = toLocalFrame(m_frame);
v8::Local<v8::Value> documentWrapper =
- toV8(frame->document(), context->Global(), m_isolate);
+ ToV8(frame->document(), context->Global(), m_isolate);
DCHECK(documentWrapper->IsObject());
// Update the cached accessor for window.document.
CHECK(V8PrivateProperty::getWindowDocumentCachedAccessor(m_isolate).set(
@@ -487,10 +487,10 @@ static v8::Local<v8::Value> getNamedProperty(
? toHTMLIFrameElement(*element).contentFrame()
: 0;
if (frame)
- return toV8(frame->domWindow(), creationContext, isolate);
- return toV8(element, creationContext, isolate);
+ return ToV8(frame->domWindow(), creationContext, isolate);
+ return ToV8(element, creationContext, isolate);
}
- return toV8(items, creationContext, isolate);
+ return ToV8(items, creationContext, isolate);
}
static void getter(v8::Local<v8::Name> property,

Powered by Google App Engine
This is Rietveld 408576698