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

Unified Diff: Source/build/scripts/templates/ElementTypeHelpers.h.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/ElementTypeHelpers.h.tmpl
diff --git a/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl b/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl
index 912224722b47d612b9f6f4f48845aa4037d06d39..fa0eac667c965109e2015547cd6d1c6869e87b8a 100644
--- a/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl
+++ b/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl
@@ -9,7 +9,7 @@
#include "{{namespace}}Names.h"
#include "platform/RuntimeEnabledFeatures.h"
-namespace WebCore {
+namespace blink {
// Type checking.
{% for tag in tags|sort if not tag.multipleTagNames and not tag.noTypeHelpers %}
{% filter enable_conditional(tag.Conditional) %}
@@ -43,9 +43,9 @@ template <> inline bool isElementOfType<const {{tag.interface}}>(const {{namespa
{% for tag in tags|sort if not tag.multipleTagNames and not tag.noTypeHelpers %}
{% filter enable_conditional(tag.Conditional) %}
-#define to{{tag.interface}}(x) WebCore::toElement<WebCore::{{tag.interface}}>(x)
+#define to{{tag.interface}}(x) blink::toElement<blink::{{tag.interface}}>(x)
{% endfilter %}
{% endfor %}
-} // WebCore
+} // namespace blink
#endif
« no previous file with comments | « Source/build/scripts/templates/ElementLookupTrie.h.tmpl ('k') | Source/build/scripts/templates/ElementWrapperFactory.cpp.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698