summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools/bound_object.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-07 22:41:51 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-07 22:41:51 +0000
commitcf2ce2306a89387b1708eea172b2497e701a5bd8 (patch)
tree88330ca1ced83720a8b7a1c0ff6d5308d43555da /webkit/glue/devtools/bound_object.cc
parent285d2cfa97175a67080cd8c6dbd0ed73a7181f0f (diff)
downloadchromium_src-cf2ce2306a89387b1708eea172b2497e701a5bd8.zip
chromium_src-cf2ce2306a89387b1708eea172b2497e701a5bd8.tar.gz
chromium_src-cf2ce2306a89387b1708eea172b2497e701a5bd8.tar.bz2
Avoids the use of "namespace using-directives" in a few places.
BUG=None TEST=None Review URL: http://codereview.chromium.org/183008 Patch from tfarina. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/bound_object.cc')
-rw-r--r--webkit/glue/devtools/bound_object.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/webkit/glue/devtools/bound_object.cc b/webkit/glue/devtools/bound_object.cc
index bc8310c..3301bc2 100644
--- a/webkit/glue/devtools/bound_object.cc
+++ b/webkit/glue/devtools/bound_object.cc
@@ -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 @@ BoundObject::BoundObject(
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 @@ void BoundObject::Build() {
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_);