| Index: third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js b/third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js
|
| index 7369d659813e05f41259b32b99b7f3dacae5fbe6..efc022dcb5bc9629756b3a0ebfe051b656fcd489 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js
|
| @@ -139,7 +139,8 @@ WebInspector.EmulatedDevice.fromJSONV1 = function(json)
|
| var result = new WebInspector.EmulatedDevice();
|
| result.title = /** @type {string} */ (parseValue(json, "title", "string"));
|
| result.type = /** @type {string} */ (parseValue(json, "type", "string"));
|
| - result.userAgent = /** @type {string} */ (parseValue(json, "user-agent", "string"));
|
| + var rawUserAgent = /** @type {string} */ (parseValue(json, "user-agent", "string"));
|
| + result.userAgent = WebInspector.MultitargetNetworkManager.patchUserAgentWithChromeVersion(rawUserAgent);
|
|
|
| var capabilities = parseValue(json, "capabilities", "object", []);
|
| if (!Array.isArray(capabilities))
|
|
|