summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskiazyk <skiazyk@google.com>2016-10-20 15:15:59 -0700
committerAlex Deymo <deymo@google.com>2017-03-20 18:26:12 -0700
commitb6b1eb942891c49b795568acc4c9b8564e1ebe53 (patch)
treefaa1a67df22eab2de956d0624e6ac7a70d5608ec
parent4b1ad93f7b7e7db3472316bdee86089e601f3f6f (diff)
downloadlibchrome-b6b1eb942891c49b795568acc4c9b8564e1ebe53.tar.gz
Fix ignored parameter in TraceAnalyzer
This appears to be a bug where a parameter is ignored in one of its members. BUG=None Review-Url: https://chromiumcodereview.appspot.com/2414133005 Cr-Commit-Position: refs/heads/master@{#426617} (cherry picked from commit 06bca199aa1931102f3f33c7911a45d46c799654) Change-Id: If5454cd7b87a36673f19be13d73681adecc4ba54
-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).