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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineLoader.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 2 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/timeline/TimelineLoader.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineLoader.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineLoader.js
index 918ad3d039c1c506158db8fa8d61085f3dfe0c2d..e5b527e34b0b8e7533f513b5e6400bc6b6cd2b66 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineLoader.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineLoader.js
@@ -25,7 +25,7 @@ WebInspector.TimelineLoader = function(model, delegate)
/** @type {number} */
this._totalSize;
this._jsonTokenizer = new WebInspector.TextUtils.BalancedJSONTokenizer(this._writeBalancedJSON.bind(this), true);
-}
+};
/**
* @param {!WebInspector.TracingModel} model
@@ -41,7 +41,7 @@ WebInspector.TimelineLoader.loadFromFile = function(model, file, delegate)
loader._totalSize = file.size;
fileReader.start(loader);
return loader;
-}
+};
/**
* @param {!WebInspector.TracingModel} model
@@ -54,7 +54,7 @@ WebInspector.TimelineLoader.loadFromURL = function(model, url, delegate)
var stream = new WebInspector.TimelineLoader(model, delegate);
WebInspector.ResourceLoader.loadAsStream(url, null, stream);
return stream;
-}
+};
WebInspector.TimelineLoader.TransferChunkLengthBytes = 5000000;
@@ -66,7 +66,7 @@ WebInspector.TimelineLoader.TransferChunkLengthBytes = 5000000;
WebInspector.TimelineLoader._createFileReader = function(file, delegate)
{
return new WebInspector.ChunkedFileReader(file, WebInspector.TimelineLoader.TransferChunkLengthBytes, delegate);
-}
+};
/**
* @enum {symbol}
@@ -76,7 +76,7 @@ WebInspector.TimelineLoader.State = {
LookingForEvents: Symbol("LookingForEvents"),
ReadingEvents: Symbol("ReadingEvents"),
SkippingTail: Symbol("SkippingTail")
-}
+};
WebInspector.TimelineLoader.prototype = {
cancel: function()
@@ -118,7 +118,7 @@ WebInspector.TimelineLoader.prototype = {
var pos = this._buffer.indexOf(objectName, startPos);
if (pos === -1)
return;
- chunk = this._buffer.slice(pos + objectName.length)
+ chunk = this._buffer.slice(pos + objectName.length);
this._state = WebInspector.TimelineLoader.State.ReadingEvents;
}
@@ -239,7 +239,7 @@ WebInspector.TimelineLoader.prototype = {
this._reportErrorAndCancelLoading(WebInspector.UIString("An error occurred while reading the file \"%s\"", reader.fileName()));
}
}
-}
+};
/**
* @constructor
@@ -247,7 +247,7 @@ WebInspector.TimelineLoader.prototype = {
*/
WebInspector.TracingTimelineSaver = function()
{
-}
+};
WebInspector.TracingTimelineSaver.prototype = {
/**
@@ -276,4 +276,4 @@ WebInspector.TracingTimelineSaver.prototype = {
var error = event.target.error;
WebInspector.console.error(WebInspector.UIString("Failed to save timeline: %s (%s, %s)", error.message, error.name, error.code));
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698