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

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

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 4 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/ui/ThrottledView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ThrottledView.js b/third_party/WebKit/Source/devtools/front_end/ui/ThrottledView.js
index 0a657da0d507262e12bb6b60f3ee9e20924a54d2..650d5525dfcd1ef120992a53695f85037b8ea3d4 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ThrottledView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ThrottledView.js
@@ -4,13 +4,13 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @param {string} title
* @param {boolean=} isWebComponent
*/
WebInspector.ThrottledView = function(title, isWebComponent)
{
- WebInspector.View.call(this, title, isWebComponent);
+ WebInspector.SimpleView.call(this, title, isWebComponent);
this._updateThrottler = new WebInspector.Throttler(100);
this._updateWhenVisible = false;
}
@@ -52,10 +52,10 @@ WebInspector.ThrottledView.prototype = {
*/
wasShown: function()
{
- WebInspector.View.prototype.wasShown.call(this);
+ WebInspector.SimpleView.prototype.wasShown.call(this);
if (this._updateWhenVisible)
this.update();
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js ('k') | third_party/WebKit/Source/devtools/front_end/ui/View.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698