| Index: webkit/glue/devtools/bound_object.cc
|
| ===================================================================
|
| --- webkit/glue/devtools/bound_object.cc (revision 25594)
|
| +++ webkit/glue/devtools/bound_object.cc (working copy)
|
| @@ -9,8 +9,6 @@
|
| #include "V8Proxy.h"
|
| #include "webkit/glue/devtools/bound_object.h"
|
|
|
| -using namespace WebCore;
|
| -
|
| BoundObject::BoundObject(
|
| v8::Handle<v8::Context> context,
|
| void* v8_this,
|
| @@ -22,7 +20,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(WebCore::V8Proxy::checkNewLegal);
|
| host_template_ = v8::Persistent<v8::FunctionTemplate>::New(local_template);
|
| host_template_->SetClassName(v8::String::New(object_name));
|
| }
|
| @@ -54,7 +52,7 @@
|
|
|
| v8::Local<v8::Function> constructor = host_template_->GetFunction();
|
| bound_object_ = v8::Persistent<v8::Object>::New(
|
| - SafeAllocation::newInstance(constructor));
|
| + WebCore::SafeAllocation::newInstance(constructor));
|
|
|
| v8::Handle<v8::Object> global = context_->Global();
|
| global->Set(v8::String::New(object_name_), bound_object_);
|
|
|