Index: tools/dom/scripts/systemnative.py |
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py |
index 1a7571fdd7d521bf18675f91026f811e244ba242..faec21567393a7dd955cdd9f74563dc57797b52a 100644 |
--- a/tools/dom/scripts/systemnative.py |
+++ b/tools/dom/scripts/systemnative.py |
@@ -379,6 +379,9 @@ def DeriveBlinkClassName(name): |
return "Blink" + name |
def DeriveResolverString(interface_id, operation_id, native_suffix, type_ids, database, is_custom): |
+ if interface_id == 'CSSStyleDeclaration' and operation_id == '__getter__': |
+ # Dirty hack to be more nicely implemented with new generator scripts. |
+ return "CSSStyleDeclaration___getter___Callback_RESOLVER_STRING_1_DOMString" |
Leaf
2014/08/06 17:53:49
Is it possible to use the pre-existing dirty-hack
|
type_string = \ |
"_".join(map(lambda type_id : TypeIdToBlinkName(type_id, database), type_ids)) |
if native_suffix: |