Index: third_party/WebKit/Source/devtools/front_end/main/Main.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
index 0294bdeabff9fed220cf4eb7b3c958dd8389c569..a70788b26caf87161deb7430a47ab72b71d753ab 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js |
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
@@ -77,18 +77,6 @@ WebInspector.Main.prototype = { |
*/ |
_createSettings: function(prefs) |
{ |
- // Patch settings from the URL param (for tests). |
- var settingsParam = Runtime.queryParam("settings"); |
- if (settingsParam) { |
- try { |
- var settings = JSON.parse(window.decodeURI(settingsParam)); |
- for (var key in settings) |
- prefs[key] = settings[key]; |
- } catch (e) { |
- // Ignore malformed settings. |
- } |
- } |
- |
this._initializeExperiments(prefs); |
WebInspector.settings = new WebInspector.Settings(new WebInspector.SettingsStorage(prefs, |
InspectorFrontendHost.setPreference, InspectorFrontendHost.removePreference, InspectorFrontendHost.clearPreferences)); |