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

Unified Diff: webkit/glue/devtools/bound_object.cc

Issue 183008: Avoids the use of "namespace using-directives" in a few places.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: with gfx:: Created 11 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
« no previous file with comments | « skia/ext/platform_device_mac.cc ('k') | webkit/glue/glue_serialize_unittest.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 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_);
« no previous file with comments | « skia/ext/platform_device_mac.cc ('k') | webkit/glue/glue_serialize_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698