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

Unified Diff: Source/build/scripts/templates/ElementWrapperFactory.h.tmpl

Issue 35423004: Move SVGNames to Python (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment Created 7 years, 2 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/build/scripts/templates/ElementWrapperFactory.cpp.tmpl ('k') | Source/core/core_derived_sources.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/templates/ElementWrapperFactory.h.tmpl
diff --git a/Source/build/scripts/templates/ElementWrapperFactory.h.tmpl b/Source/build/scripts/templates/ElementWrapperFactory.h.tmpl
index 4cac1e068e2bcd4a02c993440db81ea811ac9359..f0667a710c2f5b04127a4addf170e20c45b64fc3 100644
--- a/Source/build/scripts/templates/ElementWrapperFactory.h.tmpl
+++ b/Source/build/scripts/templates/ElementWrapperFactory.h.tmpl
@@ -5,9 +5,7 @@
#define V8{{namespace}}ElementWrapperFactory_h
#include "V8{{namespace}}Element.h"
-{%- if fallback_interface %}
-#include "V8{{fallback_interface}}.h"
-{%- endif %}
+#include "V8{{fallback_js_interface}}.h"
#include <v8.h>
namespace WebCore {
@@ -21,12 +19,10 @@ inline v8::Handle<v8::Object> createV8{{namespace}}DirectWrapper({{namespace}}El
{
return V8{{namespace}}Element::createWrapper(element, creationContext, isolate);
}
-{%- if fallback_interface %}
-inline v8::Handle<v8::Object> createV8{{namespace}}FallbackWrapper({{fallback_interface}}* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+inline v8::Handle<v8::Object> createV8{{namespace}}FallbackWrapper({{fallback_js_interface}}* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
- return V8{{fallback_interface}}::createWrapper(element, creationContext, isolate);
+ return V8{{fallback_js_interface}}::createWrapper(element, creationContext, isolate);
}
-{%- endif %}
}
« no previous file with comments | « Source/build/scripts/templates/ElementWrapperFactory.cpp.tmpl ('k') | Source/core/core_derived_sources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698