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

Unified Diff: tool/input_sdk/lib/html/html_common/device.dart

Issue 1700153002: Wrapperless dart:html and friends (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: A couple more tweaks Created 4 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: tool/input_sdk/lib/html/html_common/device.dart
diff --git a/tool/input_sdk/lib/html/html_common/device.dart b/tool/input_sdk/lib/html/html_common/device.dart
index f3245fb62ce2a5b437d902c63f924a5ed6a13fad..d36339bd521e0ed2cd6dc448290cf3e353a46613 100644
--- a/tool/input_sdk/lib/html/html_common/device.dart
+++ b/tool/input_sdk/lib/html/html_common/device.dart
@@ -20,7 +20,7 @@ class Device {
* the user agent.
* Returns the user agent.
*/
- static String get userAgent => window.navigator.raw.userAgent;
+ static String get userAgent => window.navigator.userAgent;
/**
* Determines if the current device is running Opera.
« no previous file with comments | « tool/input_sdk/lib/html/html_common/conversions_dart2js.dart ('k') | tool/input_sdk/lib/html/html_common/html_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698