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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.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/components/ExecutionContextModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js b/third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js
index d4c0e0c588948d0897941f982fa4c41119ae2cb4..821866c50343e4bb9186a217f186b0bac7c1f38c 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js
@@ -38,7 +38,7 @@ WebInspector.ExecutionContextModel.prototype = {
result = frame ? frame.displayName() : (executionContext.origin || executionContext.name);
} else {
var parsedUrl = executionContext.origin.asParsedURL();
- var name = parsedUrl? parsedUrl.lastPathComponentWithFragment() : executionContext.name;
+ var name = parsedUrl ? parsedUrl.lastPathComponentWithFragment() : executionContext.name;
result = executionContext.target().decorateLabel(name);
}
} else {

Powered by Google App Engine
This is Rietveld 408576698