summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskiazyk <skiazyk@google.com>2017-03-21 19:59:40 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-21 19:59:40 +0000
commit5ab0a1eff0d2ca401e025c11532ff18bdcf46594 (patch)
treefaa1a67df22eab2de956d0624e6ac7a70d5608ec
parentbfef0a13645984f282012c681a7616a89050da41 (diff)
parentb6b1eb942891c49b795568acc4c9b8564e1ebe53 (diff)
downloadlibchrome-5ab0a1eff0d2ca401e025c11532ff18bdcf46594.tar.gz
Fix ignored parameter in TraceAnalyzer
am: b6b1eb9428 Change-Id: I06aee5805189d50e2208770eda45cc5e8f5fc084
-rw-r--r--base/test/trace_event_analyzer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/test/trace_event_analyzer.h b/base/test/trace_event_analyzer.h
index 054964304f..e43a525644 100644
--- a/base/test/trace_event_analyzer.h
+++ b/base/test/trace_event_analyzer.h
@@ -663,7 +663,9 @@ class TraceAnalyzer {
static TraceAnalyzer* Create(const std::string& json_events)
WARN_UNUSED_RESULT;
- void SetIgnoreMetadataEvents(bool ignore) { ignore_metadata_events_ = true; }
+ void SetIgnoreMetadataEvents(bool ignore) {
+ ignore_metadata_events_ = ignore;
+ }
// Associate BEGIN and END events with each other. This allows Query(OTHER_*)
// to access the associated event and enables Query(EVENT_DURATION).