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

Unified Diff: webkit/glue/webdevtoolsclient_impl.cc

Issue 149086: Use upstream V8Proxy and V8Utilities (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/port/bindings/scripts/CodeGeneratorV8.pm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsclient_impl.cc
===================================================================
--- webkit/glue/webdevtoolsclient_impl.cc (revision 19426)
+++ webkit/glue/webdevtoolsclient_impl.cc (working copy)
@@ -14,14 +14,14 @@
#include "Page.h"
#include "PlatformString.h"
#include "SecurityOrigin.h"
+#include "V8Binding.h"
+#include "V8CustomBinding.h"
+#include "V8Proxy.h"
+#include "V8Utilities.h"
#include <wtf/OwnPtr.h>
#include <wtf/Vector.h>
#undef LOG
-#include "V8Binding.h"
-#include "V8CustomBinding.h"
-#include "v8_proxy.h"
-#include "v8_utility.h"
#include "base/string_util.h"
#include "base/values.h"
#include "webkit/api/public/WebScriptSource.h"
@@ -149,7 +149,7 @@
new JsToolsAgentBoundObj(this, frame, L"RemoteToolsAgent"));
v8::HandleScope scope;
- v8::Handle<v8::Context> frame_context = V8Proxy::GetContext(frame->frame());
+ v8::Handle<v8::Context> frame_context = V8Proxy::context(frame->frame());
dev_tools_host_.set(new BoundObject(frame_context, this, "DevToolsHost"));
dev_tools_host_->AddProtoFunction(
"reset",
@@ -253,7 +253,7 @@
if (source_string.isEmpty() || exception_catcher.HasCaught()) {
return v8::Undefined();
}
- Node* node = V8Proxy::DOMWrapperToNode<Node>(args[2]);
+ Node* node = V8Proxy::convertDOMWrapperToNode<Node>(args[2]);
if (!node || !node->attached()) {
return v8::Undefined();
}
@@ -272,7 +272,7 @@
if (mime_type.isEmpty()) {
return v8::Undefined();
}
- Node* node = V8Proxy::DOMWrapperToNode<Node>(args[2]);
+ Node* node = V8Proxy::convertDOMWrapperToNode<Node>(args[2]);
WebDevToolsClientImpl* client = static_cast<WebDevToolsClientImpl*>(
v8::External::Cast(*args.Data())->Value());
client->AddResourceSourceToFrame(resource_id, mime_type, node);
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/port/bindings/scripts/CodeGeneratorV8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698