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

Unified Diff: third_party/WebKit/Source/devtools/front_end/Runtime.js

Issue 2588843002: DevTools: speed up closure dependency checking (Closed)
Patch Set: re-insert comment Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/devtools/BUILD.gn ('k') | third_party/WebKit/Source/devtools/scripts/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/Runtime.js
diff --git a/third_party/WebKit/Source/devtools/front_end/Runtime.js b/third_party/WebKit/Source/devtools/front_end/Runtime.js
index 0d500cb7de91dc4ecae2235df9e9e1c6ba741287..0eefa745ff9b39d3936399c918f9b7a1548ef4d7 100644
--- a/third_party/WebKit/Source/devtools/front_end/Runtime.js
+++ b/third_party/WebKit/Source/devtools/front_end/Runtime.js
@@ -773,15 +773,14 @@ Runtime.Module = class {
return Promise.resolve();
// the namespace keyword confuses clang-format
+ // NOTE: Update scripts/special_case_namespaces.json if you add a special cased namespace
// clang-format off
// Module namespaces.
const specialCases = {
'sdk': 'SDK',
'ui': 'UI',
'perf_ui': 'PerfUI',
- 'css_tracker': 'CSSTracker',
- 'ui_lazy': 'UI',
- 'components_lazy': 'Components'
+ 'css_tracker': 'CSSTracker'
};
var namespace = specialCases[this._name] || this._name.split('_').map(a => a.substring(0, 1).toUpperCase() + a.substring(1)).join('');
self[namespace] = self[namespace] || {};
« no previous file with comments | « third_party/WebKit/Source/devtools/BUILD.gn ('k') | third_party/WebKit/Source/devtools/scripts/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698