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

Unified Diff: webkit/glue/devtools/bound_object.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/chrome_client_impl.cc ('k') | webkit/glue/devtools/debugger_agent_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/bound_object.cc
===================================================================
--- webkit/glue/devtools/bound_object.cc (revision 19426)
+++ webkit/glue/devtools/bound_object.cc (working copy)
@@ -6,7 +6,7 @@
#include <string>
-#include "v8_proxy.h"
+#include "V8Proxy.h"
#include "webkit/glue/devtools/bound_object.h"
using namespace WebCore;
@@ -22,7 +22,7 @@
v8_this_ = v8::Persistent<v8::External>::New(v8::External::New(v8_this));
v8::Local<v8::FunctionTemplate> local_template =
- v8::FunctionTemplate::New(V8Proxy::CheckNewLegal);
+ v8::FunctionTemplate::New(V8Proxy::checkNewLegal);
host_template_ = v8::Persistent<v8::FunctionTemplate>::New(local_template);
host_template_->SetClassName(v8::String::New(object_name));
}
@@ -54,7 +54,7 @@
v8::Local<v8::Function> constructor = host_template_->GetFunction();
bound_object_ = v8::Persistent<v8::Object>::New(
- SafeAllocation::NewInstance(constructor));
+ SafeAllocation::newInstance(constructor));
v8::Handle<v8::Object> global = context_->Global();
global->Set(v8::String::New(object_name_), bound_object_);
« no previous file with comments | « webkit/glue/chrome_client_impl.cc ('k') | webkit/glue/devtools/debugger_agent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698