Index: tools/dom/scripts/systemnative.py |
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py |
index 0e53625f2022738e8b153b6f534c251363f25c68..432d68d642f6e05825b81beaafcdf785732b87d2 100644 |
--- a/tools/dom/scripts/systemnative.py |
+++ b/tools/dom/scripts/systemnative.py |
@@ -558,9 +558,10 @@ class DartiumBackend(HtmlDartGenerator): |
return "_".join(fields) |
def DeriveQualifiedBlinkName(self, interface_name, name): |
- return DeriveQualifiedName( |
- "_blink", DeriveQualifiedName(DeriveBlinkClassName(interface_name), |
- name)) |
+ blinkClass = DeriveQualifiedName( |
+ "_blink", DeriveBlinkClassName(interface_name)) |
+ blinkInstance = DeriveQualifiedName(blinkClass, "instance") |
+ return DeriveQualifiedName(blinkInstance, name + "_") |
def NativeSpec(self): |
return '' |