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

Unified Diff: tools/dom/scripts/systemnative.py

Issue 684783005: Redirect blink calls through instance (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « sdk/lib/web_sql/dartium/web_sql_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ''
« no previous file with comments | « sdk/lib/web_sql/dartium/web_sql_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698