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

Unified Diff: Source/bindings/templates/interface_base.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (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
« no previous file with comments | « Source/bindings/templates/interface.h ('k') | Source/bindings/tests/results/V8SVGTestInterface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/interface_base.cpp
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp
index 08ea4a32d5750ea0ea93afa27c03986f0f50a87e..645ebf1db53dac0ee00776aa6560c3e1af902f4a 100644
--- a/Source/bindings/templates/interface_base.cpp
+++ b/Source/bindings/templates/interface_base.cpp
@@ -12,7 +12,7 @@
#include "{{filename}}"
{% endfor %}
-namespace WebCore {
+namespace blink {
static void initializeScriptWrappableForInterface({{cpp_class}}* object)
{
@@ -22,7 +22,7 @@ static void initializeScriptWrappableForInterface({{cpp_class}}* object)
ASSERT_NOT_REACHED();
}
-} // namespace WebCore
+} // namespace blink
{#
In ScriptWrappable::init, the use of a local function declaration has an
@@ -32,12 +32,12 @@ More info on the MSVC bug here (Bug 664619):
The namespace of local function declarations in C++ by Uray M. János
http://connect.microsoft.com/VisualStudio/feedback/details/664619/the-namespace-of-local-function-declarations-in-c
#}
-void webCoreInitializeScriptWrappableForInterface(WebCore::{{cpp_class}}* object)
+void webCoreInitializeScriptWrappableForInterface(blink::{{cpp_class}}* object)
{
- WebCore::initializeScriptWrappableForInterface(object);
+ blink::initializeScriptWrappableForInterface(object);
}
-namespace WebCore {
+namespace blink {
{% set to_active_dom_object = '%s::toActiveDOMObject' % v8_class
if is_active_dom_object else '0' %}
{% set to_event_target = '%s::toEventTarget' % v8_class
@@ -161,5 +161,5 @@ template <typename T> void V8_USE(T) { }
{% block wrap %}{% endblock %}
{% block create_wrapper %}{% endblock %}
{% block deref_object_and_to_v8_no_inline %}{% endblock %}
-} // namespace WebCore
+} // namespace blink
{% endfilter %}
« no previous file with comments | « Source/bindings/templates/interface.h ('k') | Source/bindings/tests/results/V8SVGTestInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698