Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js |
| index ca3bb5c52e25d1d94b9adab564e3bd8d3dbc410d..c5a3eaf5bb8647c94d01f6777b8fb3fe5c9a1c36 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js |
| @@ -104,7 +104,8 @@ WebInspector.DeviceModeModel.deviceScaleFactorValidator = function(value) |
| return false; |
| } |
| -WebInspector.DeviceModeModel._defaultMobileUserAgent = "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36"; |
| +WebInspector.DeviceModeModel._defaultMobileUserAgent = "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Mobile Safari/537.36"; |
|
pfeldman
2016/09/15 21:44:07
ditto
luoe
2016/09/15 23:18:08
Done.
|
| +WebInspector.DeviceModeModel._defaultMobileUserAgent = WebInspector.BrowserVersionInfo.patchUserAgentWithChromeVersion(WebInspector.DeviceModeModel._defaultMobileUserAgent); |
| WebInspector.DeviceModeModel.defaultMobileScaleFactor = 2; |
| WebInspector.DeviceModeModel.prototype = { |