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

Unified Diff: chrome/browser/resources/net_internals/util.js

Issue 2602473003: Run tools/clang-format-js on chrome/browser/resources/net_internals (Closed)
Patch Set: drop dep Created 3 years, 12 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: chrome/browser/resources/net_internals/util.js
diff --git a/chrome/browser/resources/net_internals/util.js b/chrome/browser/resources/net_internals/util.js
index 0702958dd28f8018dbda722be3b4692c03be155e..fa92b3c794b5ef44ff702cb2432164db6e174352 100644
--- a/chrome/browser/resources/net_internals/util.js
+++ b/chrome/browser/resources/net_internals/util.js
@@ -164,8 +164,9 @@ function shallowCloneObject(object) {
function assertFirstConstructorCall(ctor) {
// This is the variable which is set by cr.addSingletonGetter().
if (ctor.hasCreateFirstInstance_) {
- throw Error('The class ' + ctor.name + ' is a singleton, and should ' +
- 'only be accessed using ' + ctor.name + '.getInstance().');
+ throw Error(
+ 'The class ' + ctor.name + ' is a singleton, and should ' +
+ 'only be accessed using ' + ctor.name + '.getInstance().');
}
ctor.hasCreateFirstInstance_ = true;
}
« no previous file with comments | « chrome/browser/resources/net_internals/top_mid_bottom_view.js ('k') | chrome/browser/resources/net_internals/view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698