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

Unified Diff: client/html/src/Device.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: client/html/src/Device.dart
diff --git a/client/html/src/Device.dart b/client/html/src/Device.dart
index d171df42917a089bf9512daac02b05e8284fff3c..7d8d54e17b3606ada5ed24435e9096acfc21e915 100644
--- a/client/html/src/Device.dart
+++ b/client/html/src/Device.dart
@@ -11,7 +11,7 @@ class _Device {
* the user agent.
* Returns the user agent.
*/
- static String get userAgent() => dom.window.navigator.userAgent;
+ static String get userAgent() => window.navigator.userAgent;
/**
* Determines if the current device is running Firefox.

Powered by Google App Engine
This is Rietveld 408576698