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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Dialog.js

Issue 1907263002: DevTools: Fix all outstanding JavaScript style issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove yoda disable. fix throw parens Created 4 years, 8 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
Index: third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
index 715f9907dd267563acf0c1acde8fded6bab54ab6..fb24054e2b1d37c9310d8bb171060efd496cb07c 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
@@ -182,7 +182,7 @@ WebInspector.Dialog.prototype = {
var container = WebInspector.Dialog._modalHostView.element;
var width = container.offsetWidth - 10;
- var height = container.offsetHeight- 10;
+ var height = container.offsetHeight - 10;
if (this._wrapsContent) {
width = Math.min(width, this.contentElement.offsetWidth);

Powered by Google App Engine
This is Rietveld 408576698