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

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

Issue 16336022: Fixing a number of Dart2JS compiler warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | « tools/dom/templates/html/impl/impl_Element.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Window.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
index cce9a481a58ec4407db0f058d0d85cc42bec0e17..62779ca7b449e07443a0716e6fa69bc4590748a1 100644
--- a/tools/dom/templates/html/impl/impl_Window.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
@@ -301,8 +301,8 @@ class _BeforeUnloadEvent extends _WrappedEvent implements BeforeUnloadEvent {
$if DART2JS
// FF and IE use the value as the return value, Chrome will return this from
// the event callback function.
- if (JS('bool', '("returnValue" in #)', _base)) {
- JS('void', '#.returnValue = #', _base, value);
+ if (JS('bool', '("returnValue" in #)', wrapped)) {
+ JS('void', '#.returnValue = #', wrapped, value);
}
$endif
}
« no previous file with comments | « tools/dom/templates/html/impl/impl_Element.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698