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

Unified Diff: Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl

Issue 424983002: Stop using WebCore namespace in generated code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
Index: Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl
diff --git a/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl b/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl
index 889df60bf944d3664d93a23ca23291c5f7bc0947..958cc0f1828eca7c47914c398f4de458753f31c1 100644
--- a/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl
+++ b/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl
@@ -7,10 +7,10 @@
#include "wtf/StaticConstructors.h"
-namespace WebCore {
+namespace blink {
namespace {{namespace}}Names {
-using namespace WebCore;
+using namespace blink;
DEFINE_GLOBAL(AtomicString, {{namespace_prefix}}NamespaceURI)
@@ -40,7 +40,7 @@ PassOwnPtr<const QualifiedName*[]> get{{namespace}}Attrs()
{
OwnPtr<const QualifiedName*[]> attrs = adoptArrayPtr(new const QualifiedName*[{{namespace}}AttrsCount]);
{% for attr in attrs|sort %}
- attrs[{{loop.index0}}] = reinterpret_cast<const WebCore::QualifiedName*>(&{{attr|symbol}}Attr);
+ attrs[{{loop.index0}}] = reinterpret_cast<const blink::QualifiedName*>(&{{attr|symbol}}Attr);
{% endfor %}
return attrs.release();
}
@@ -72,4 +72,4 @@ void init()
}
} // {{namespace}}
-} // WebCore
+} // namespace blink
« no previous file with comments | « Source/build/scripts/templates/MakeNames.h.tmpl ('k') | Source/build/scripts/templates/MakeQualifiedNames.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698