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

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

Issue 351903003: DevTools: Avoid private member access in non-profiler code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/timeline/TimelineFlameChart.js
diff --git a/Source/devtools/front_end/timeline/TimelineFlameChart.js b/Source/devtools/front_end/timeline/TimelineFlameChart.js
index f83ffbf927e1d95646e43167fbf5ee69c2f1ad4b..a51c55e4b1d8c698d4b2a64ece4b1c89e7359862 100644
--- a/Source/devtools/front_end/timeline/TimelineFlameChart.js
+++ b/Source/devtools/front_end/timeline/TimelineFlameChart.js
@@ -845,12 +845,12 @@ WebInspector.TimelineFlameChart.prototype = {
refreshRecords: function(textFilter)
{
this._dataProvider.reset();
- this._mainView._scheduleUpdate();
+ this._mainView.scheduleUpdate();
},
wasShown: function()
{
- this._mainView._scheduleUpdate();
+ this._mainView.scheduleUpdate();
},
@@ -888,7 +888,7 @@ WebInspector.TimelineFlameChart.prototype = {
this._automaticallySizeWindow = false;
this._delegate.requestWindowTimes(minimumRecordTime, minimumRecordTime + 1000);
}
- this._mainView._scheduleUpdate();
+ this._mainView.scheduleUpdate();
} else {
if (!this._pendingUpdateTimer)
this._pendingUpdateTimer = window.setTimeout(this._updateOnAddRecord.bind(this), 300);
@@ -898,7 +898,7 @@ WebInspector.TimelineFlameChart.prototype = {
_updateOnAddRecord: function()
{
delete this._pendingUpdateTimer;
- this._mainView._scheduleUpdate();
+ this._mainView.scheduleUpdate();
},
/**
« no previous file with comments | « Source/devtools/front_end/timeline/Layers3DView.js ('k') | Source/devtools/front_end/timeline/TimelineTracingView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698