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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineFrameModel.js

Issue 2515693003: DevTools: bring violations and timeline warnings in sync. (Closed)
Patch Set: 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/timeline_model/TimelineFrameModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineFrameModel.js b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineFrameModel.js
index 74e2a8a1e7c357594dcef4850b9157e7d89216fc..ca15c783c7912e996298f6bb818b5436b86c583f 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineFrameModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineFrameModel.js
@@ -444,8 +444,7 @@ TimelineModel.TimelineFrame = class {
* @return {boolean}
*/
hasWarnings() {
- var /** @const */ longFrameDurationThresholdMs = 22;
- return !this.idle && this.duration > longFrameDurationThresholdMs;
+ return false;
caseq 2016/11/19 05:51:08 This function becomes meaningless in its present f
}
/**

Powered by Google App Engine
This is Rietveld 408576698