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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/Reload.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: all done Created 4 years, 1 month 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: third_party/WebKit/Source/devtools/front_end/components/Reload.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/Reload.js b/third_party/WebKit/Source/devtools/front_end/components/Reload.js
index e4826e2b72dc5a366e049f073f1f6c7d43414b2d..213b566540697c8227e6ce7b2de18215f9d071e4 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/Reload.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/Reload.js
@@ -1,10 +1,9 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
-WebInspector.reload = function()
-{
- if (WebInspector.dockController.canDock() && WebInspector.dockController.dockSide() === WebInspector.DockController.State.Undocked)
- InspectorFrontendHost.setIsDocked(true, function() {});
- window.location.reload();
+WebInspector.reload = function() {
+ if (WebInspector.dockController.canDock() &&
+ WebInspector.dockController.dockSide() === WebInspector.DockController.State.Undocked)
+ InspectorFrontendHost.setIsDocked(true, function() {});
+ window.location.reload();
};

Powered by Google App Engine
This is Rietveld 408576698