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

Unified Diff: tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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: tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate b/tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate
index ee18868609b21c3b04945b63085fca0b80193cc7..133ccd25f13d5f2a936beac0a5f1be81ff3853bc 100644
--- a/tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate
+++ b/tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate
@@ -9,8 +9,8 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
factory $CLASSNAME(String type,
{bool canBubble: true, bool cancelable: true, String oldUrl,
String newUrl}) {
- var event = document.$dom_createEvent("HashChangeEvent");
- event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl);
+ var event = document._createEvent("HashChangeEvent");
+ event._initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl);
return event;
}
$!MEMBERS

Powered by Google App Engine
This is Rietveld 408576698