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

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

Issue 1348173002: Dartium JS Enabled take 2 (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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_Window.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
index b119a08ea3bd85b3b5d551054abe0f64149dedf8..36dfc9a7b41f29aa4c35c0917483d9e132ba0949 100644
--- a/tools/dom/templates/html/impl/impl_Window.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
@@ -85,13 +85,13 @@ $if DART2JS
* Sets the window's location, which causes the browser to navigate to the new
* location. [value] may be a Location object or a String.
*/
- void set location(value) {
+ set location(value) {
_location = value;
}
// Native getter and setter to access raw Location object.
dynamic get _location => JS('Location|Null', '#.location', this);
- void set _location(value) {
+ set _location(value) {
JS('void', '#.location = #', this, value);
}
@@ -320,7 +320,7 @@ class _BeforeUnloadEvent extends _WrappedEvent implements BeforeUnloadEvent {
String get returnValue => _returnValue;
- void set returnValue(String value) {
+ set returnValue(String value) {
_returnValue = value;
// FF and IE use the value as the return value, Chrome will return this from
// the event callback function.

Powered by Google App Engine
This is Rietveld 408576698