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

Unified Diff: Source/devtools/front_end/TimelineFlameChart.js

Issue 180273023: DevTools: encapsulate presentation model in timeline view. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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: Source/devtools/front_end/TimelineFlameChart.js
diff --git a/Source/devtools/front_end/TimelineFlameChart.js b/Source/devtools/front_end/TimelineFlameChart.js
index 450642d2be4997febacf00cbe9028c588e99fc03..6f9d9fd970149243f41276b883a8ad0b1c069617 100644
--- a/Source/devtools/front_end/TimelineFlameChart.js
+++ b/Source/devtools/front_end/TimelineFlameChart.js
@@ -278,8 +278,13 @@ WebInspector.TimelineFlameChart.prototype = {
this._delegate.requestWindowTimes(windowStartTime, windowEndTime);
},
- refreshRecords: function()
+ /**
+ * @param {?RegExp} textFilter
+ */
+ refreshRecords: function(textFilter)
{
+ this._dataProvider._invalidate();
+ this._mainView._scheduleUpdate();
},
reset: function()

Powered by Google App Engine
This is Rietveld 408576698