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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 13044010: dom: more final more of the time (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nit Created 7 years, 8 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:
Download patch
« no previous file with comments | « sdk/lib/chrome/dart2js/chrome_dart2js.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 3aa58b2db8d3100d9be2a20a21eae8a804d1007a..ac7d26c8e86a49242bf0529eb320d478016b7212 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -32929,7 +32929,7 @@ class _JsDeserializer extends _Deserializer {
// The receiver is JS.
class _JsSendPortSync implements SendPortSync {
- num _id;
+ final num _id;
_JsSendPortSync(this._id);
callSync(var message) {
@@ -33099,7 +33099,7 @@ typedef void _MicrotaskCallback();
*/
abstract class _MicrotaskScheduler {
bool _nextMicrotaskFrameScheduled = false;
- _MicrotaskCallback _callback;
+ final _MicrotaskCallback _callback;
_MicrotaskScheduler(this._callback);
@@ -33713,7 +33713,7 @@ class _DOMWindowCrossFrame implements WindowBase {
// Private window. Note, this is a window in another frame, so it
// cannot be typed as "Window" as its prototype is not patched
// properly. Its fields and methods can only be accessed via JavaScript.
- var _window;
+ final _window;
// Fields.
HistoryBase get history =>
« no previous file with comments | « sdk/lib/chrome/dart2js/chrome_dart2js.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698