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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/ThrottledWidget.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/ui/ThrottledWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ThrottledWidget.js b/third_party/WebKit/Source/devtools/front_end/ui/ThrottledWidget.js
index 26becf5c67082e889e6cbe9e057688452dcd7ca5..6caf67cc0a7070e5a42ed126bc5eccea9a7e97c0 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ThrottledWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ThrottledWidget.js
@@ -4,13 +4,13 @@
/**
* @unrestricted
*/
-WebInspector.ThrottledWidget = class extends WebInspector.VBox {
+UI.ThrottledWidget = class extends UI.VBox {
/**
* @param {boolean=} isWebComponent
*/
constructor(isWebComponent) {
super(isWebComponent);
- this._updateThrottler = new WebInspector.Throttler(100);
+ this._updateThrottler = new Common.Throttler(100);
this._updateWhenVisible = false;
}
@@ -29,7 +29,7 @@ WebInspector.ThrottledWidget = class extends WebInspector.VBox {
this._updateThrottler.schedule(innerUpdate.bind(this));
/**
- * @this {WebInspector.ThrottledWidget}
+ * @this {UI.ThrottledWidget}
* @return {!Promise<?>}
*/
function innerUpdate() {

Powered by Google App Engine
This is Rietveld 408576698