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

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

Issue 306123009: Remove TimelinePresentationModel.Record.childHasWarning (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | Source/devtools/front_end/timeline/TimelineModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c223a0fdd48969f5756a155820c417259e191a76..d11ed4fce32bc8a2f4a956eabc137ff81fb3a65b 100644
--- a/Source/devtools/front_end/timeline/TimelineFlameChart.js
+++ b/Source/devtools/front_end/timeline/TimelineFlameChart.js
@@ -341,7 +341,7 @@ WebInspector.TimelineFlameChartDataProvider.prototype = {
}
}
- if (record.warnings() || record.childHasWarnings()) {
+ if (record.warnings()) {
context.save();
context.rect(barX, barY, barWidth, this.barHeight());
@@ -367,7 +367,7 @@ WebInspector.TimelineFlameChartDataProvider.prototype = {
forceDecoration: function(entryIndex)
{
var record = this._records[entryIndex];
- return record.childHasWarnings() || !!record.warnings();
+ return !!record.warnings();
},
/**
« no previous file with comments | « no previous file | Source/devtools/front_end/timeline/TimelineModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698