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

Unified Diff: third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.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/screencast/ScreencastView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
index 37fb2060dd023584365bc5d1092fc80ae7aad2db..7ed90c311436f380fcfe9738eab0dc6507ecfd5c 100644
--- a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
+++ b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
@@ -559,7 +559,7 @@ WebInspector.ScreencastView.prototype = {
* @param {!DOMAgent.Quad} clipQuad
* @param {!DOMAgent.RGBA} fillColor
*/
- _drawOutlinedQuadWithClip: function (quad, clipQuad, fillColor)
+ _drawOutlinedQuadWithClip: function(quad, clipQuad, fillColor)
{
this._context.fillStyle = this._cssColor(fillColor);
this._context.save();
@@ -722,7 +722,7 @@ WebInspector.ScreencastView.prototype = {
this._navigationUrl = this._navigationBar.createChild("input");
this._navigationUrl.type = "text";
- this._navigationUrl.addEventListener('keyup', this._navigationUrlKeyUp.bind(this), true);
+ this._navigationUrl.addEventListener("keyup", this._navigationUrlKeyUp.bind(this), true);
this._navigationProgressBar = new WebInspector.ScreencastView.ProgressTracker(this._navigationBar.createChild("div", "progress"));
@@ -746,7 +746,7 @@ WebInspector.ScreencastView.prototype = {
_navigationUrlKeyUp: function(event)
{
- if (event.keyIdentifier != 'Enter')
+ if (event.keyIdentifier != "Enter")
return;
var url = this._navigationUrl.value;
if (!url)

Powered by Google App Engine
This is Rietveld 408576698