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

Unified Diff: third_party/WebKit/Source/devtools/front_end/host/ResourceLoader.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/host/ResourceLoader.js
diff --git a/third_party/WebKit/Source/devtools/front_end/host/ResourceLoader.js b/third_party/WebKit/Source/devtools/front_end/host/ResourceLoader.js
index 501eb38d7f3e55251ab96c4ded0aed95763d053b..9d7341ed675f12c272da6b2701792c51f1cc8b2b 100644
--- a/third_party/WebKit/Source/devtools/front_end/host/ResourceLoader.js
+++ b/third_party/WebKit/Source/devtools/front_end/host/ResourceLoader.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-WebInspector.ResourceLoader = {}
+WebInspector.ResourceLoader = {};
WebInspector.ResourceLoader._lastStreamId = 0;
/** @type {!Object.<number, !WebInspector.OutputStream>} */
@@ -16,7 +16,7 @@ WebInspector.ResourceLoader._bindOutputStream = function(stream)
{
WebInspector.ResourceLoader._boundStreams[++WebInspector.ResourceLoader._lastStreamId] = stream;
return WebInspector.ResourceLoader._lastStreamId;
-}
+};
/**
* @param {number} id
@@ -25,7 +25,7 @@ WebInspector.ResourceLoader._discardOutputStream = function(id)
{
WebInspector.ResourceLoader._boundStreams[id].close();
delete WebInspector.ResourceLoader._boundStreams[id];
-}
+};
/**
* @param {number} id
@@ -34,7 +34,7 @@ WebInspector.ResourceLoader._discardOutputStream = function(id)
WebInspector.ResourceLoader.streamWrite = function(id, chunk)
{
WebInspector.ResourceLoader._boundStreams[id].write(chunk);
-}
+};
/**
* @param {string} url
@@ -54,7 +54,7 @@ WebInspector.ResourceLoader.load = function(url, headers, callback)
{
callback(statusCode, headers, stream.data());
}
-}
+};
/**
* @param {string} url
@@ -103,4 +103,4 @@ WebInspector.ResourceLoader.loadAsStream = function(url, headers, stream, callba
{
finishedCallback(/** @type {!InspectorFrontendHostAPI.LoadNetworkResourceResult} */ ({statusCode : 404}));
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698