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

Unified Diff: bindings/dart/gyp/scripts/massage_factories.py

Issue 13163002: Roll IDLs. (Closed) Base URL: http://dart.googlecode.com/svn/third_party/WebCore/
Patch Set: Created 7 years, 9 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: bindings/dart/gyp/scripts/massage_factories.py
===================================================================
--- bindings/dart/gyp/scripts/massage_factories.py (revision 20375)
+++ bindings/dart/gyp/scripts/massage_factories.py (working copy)
@@ -84,6 +84,12 @@
(re.compile(
r'return createV8HTMLDirectWrapper\(element, creationContext, isolate\);'),
r'return DartDOMWrapper::toDart<DartHTMLElement>(element);'),
+ (re.compile(
+ r'return V8CustomElement::wrap\(element, creationContext, constructor, isolate\);'),
+ r'return DartCustomElement::toDart(element, constructor);'),
+ (re.compile(
+ r'return wrap\(toHTMLUnknownElement\(element\), creationContext, isolate\);'),
+ r'return DartHTMLUnknownElement::toDart(toHTMLUnknownElement(element));'),
(re.compile(r'createV8%sWrapper' % tag), r'createDart%sWrapper' % tag),
(re.compile(r', v8::Isolate\*( isolate)?'), ''),
(re.compile(r', v8::Handle<v8::Object> creationContext'), ''),
@@ -93,12 +99,6 @@
(re.compile(r'V8CustomElement'), 'DartCustomElement'),
(re.compile(r'WrapperTypeInfo'), 'DartWrapperTypeInfo'),
(re.compile(r'WrapperTypeTraits'), 'DartWrapperTypeTraits'),
- (re.compile(
- r'return DartCustomElement::wrap\(element, creationContext, constructor, isolate\);'),
- r'return DartCustomElement::toDart(element, constructor);'),
- (re.compile(
- r'return wrap\(toHTMLUnknownElement\(element\), creationContext, isolate\);'),
- r'return DartHTMLUnknownElement::toDart(toHTMLUnknownElement(element));'),
])
return 0

Powered by Google App Engine
This is Rietveld 408576698