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

Unified Diff: tracing/tracing/importer/find_input_expectations.html

Issue 2239953002: Fix extraneous double-handled event errors. (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: fix reference 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/importer/find_input_expectations.html
diff --git a/tracing/tracing/importer/find_input_expectations.html b/tracing/tracing/importer/find_input_expectations.html
index 2e781436c514382f40e50990439eb526d3056fdd..a01ad7aef554101271fe6ac3dc92c57f9f2bf04a 100644
--- a/tracing/tracing/importer/find_input_expectations.html
+++ b/tracing/tracing/importer/find_input_expectations.html
@@ -1150,7 +1150,8 @@ tr.exportTo('tr.importer', function() {
(event.subSlices.length > 0))
return;
- if (handledEvents.indexOf(event) >= 0) {
+ if ((handledEvents.indexOf(event) >= 0) &&
+ (event.title !== tr.model.helpers.IMPL_RENDERING_STATS)) {
console.error('double-handled event', event.typeName,
parseInt(event.start), parseInt(event.end), protoExpectation);
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698