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] || {}; |