Index: tools/dom/scripts/systemhtml.py |
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py |
index 226eed1e587668a68527659903135933add25666..75308d4eb7cc81b256c0d77eca9b051297b3fd83 100644 |
--- a/tools/dom/scripts/systemhtml.py |
+++ b/tools/dom/scripts/systemhtml.py |
@@ -609,6 +609,7 @@ class HtmlDartInterfaceGenerator(object): |
js_interop_wrapper = ''' |
+ @Deprecated("Internal Use Only") |
static {0} internalCreate{0}() {{ |
return new {0}._internalWrap(); |
}} |
@@ -622,6 +623,7 @@ class HtmlDartInterfaceGenerator(object): |
'''.format(class_name) |
if base_class == 'NativeFieldWrapperClass2' or base_class == 'DartHtmlDomObject': |
js_interop_wrapper = ''' |
+ @Deprecated("Internal Use Only") |
static {0} internalCreate{0}() {{ |
return new {0}._internalWrap(); |
}} |