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

Unified Diff: Source/devtools/front_end/inspector.js

Issue 169303005: DevTools: introduce "restore defaults and reload" in settings pane. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/devtools/front_end/SettingsScreen.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/inspector.js
diff --git a/Source/devtools/front_end/inspector.js b/Source/devtools/front_end/inspector.js
index 7a686993011068a3cd6b379fff50c223c6be773b..992b3fb11db88fc9504770a29bec08cbcd0e4783 100644
--- a/Source/devtools/front_end/inspector.js
+++ b/Source/devtools/front_end/inspector.js
@@ -221,8 +221,6 @@ WebInspector.reload = function()
var queryParamsObject = {};
for (var name in WebInspector.queryParamsObject)
queryParamsObject[name] = WebInspector.queryParamsObject[name];
- if (this.dockController)
- queryParamsObject["dockSide"] = this.dockController.dockSide();
vsevik 2014/02/17 12:38:14 The code around is not needed anymore.
var names = Object.keys(queryParamsObject);
for (var i = 0; i < names.length; ++i)
url += (i ? "&" : "?") + names[i] + "=" + queryParamsObject[names[i]];
« no previous file with comments | « Source/devtools/front_end/SettingsScreen.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698