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

Unified Diff: Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp

Issue 537403002: bindings: Renames from/toInternalPointer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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: Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp b/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
index 3e93e390f734d0a68ba1dc505b4fa6e4db70054a..06c77f4859b147151e05118cbe0096cb23a1f733 100644
--- a/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
@@ -112,7 +112,7 @@ void V8InspectorFrontendHost::showContextMenuMethodCustom(const v8::FunctionCall
if (!V8MouseEvent::wrapperTypeInfo.equals(toWrapperTypeInfo(eventWrapper)))
return;
- Event* event = V8Event::toNative(eventWrapper);
+ Event* event = V8Event::toImpl(eventWrapper);
if (!info[1]->IsArray())
return;
@@ -121,7 +121,7 @@ void V8InspectorFrontendHost::showContextMenuMethodCustom(const v8::FunctionCall
if (!populateContextMenuItems(array, menu, info.GetIsolate()))
return;
- InspectorFrontendHost* frontendHost = V8InspectorFrontendHost::toNative(info.Holder());
+ InspectorFrontendHost* frontendHost = V8InspectorFrontendHost::toImpl(info.Holder());
Vector<ContextMenuItem> items = menu.items();
frontendHost->showContextMenu(event, items);
}
@@ -150,11 +150,11 @@ void V8InspectorFrontendHost::showContextMenuAtPointMethodCustom(const v8::Funct
v8::Handle<v8::Object> windowWrapper = V8Window::findInstanceInPrototypeChain(isolate->GetEnteredContext()->Global(), isolate);
if (windowWrapper.IsEmpty())
return;
- LocalDOMWindow* window = V8Window::toNative(windowWrapper);
+ LocalDOMWindow* window = V8Window::toImpl(windowWrapper);
if (!window->document() || !window->document()->page())
return;
- InspectorFrontendHost* frontendHost = V8InspectorFrontendHost::toNative(info.Holder());
+ InspectorFrontendHost* frontendHost = V8InspectorFrontendHost::toImpl(info.Holder());
Vector<ContextMenuItem> items = menu.items();
frontendHost->showContextMenu(window->document()->page(), static_cast<float>(x->NumberValue()), static_cast<float>(y->NumberValue()), items);
}

Powered by Google App Engine
This is Rietveld 408576698