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

Unified Diff: ui/events/latency_info.cc

Issue 1277483002: Fix LatencyInfo compile error for ipc fuzzer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 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 | « ui/events/latency_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/latency_info.cc
diff --git a/ui/events/latency_info.cc b/ui/events/latency_info.cc
index fac3199df5b47df4f2f4a1153caacfdbd6bb0ca5..fb7660a4eecf118547a9e6e2632e42a9b34c2c23 100644
--- a/ui/events/latency_info.cc
+++ b/ui/events/latency_info.cc
@@ -138,6 +138,10 @@ LatencyInfo::LatencyInfo()
LatencyInfo::~LatencyInfo() {
}
+LatencyInfo::LatencyInfo(int64 trace_id, bool terminated)
+ : input_coordinates_size_(0), trace_id_(trace_id), terminated_(terminated) {
+}
+
bool LatencyInfo::Verify(const std::vector<LatencyInfo>& latency_info,
const char* referring_msg) {
if (latency_info.size() > kMaxLatencyInfoNumber) {
« no previous file with comments | « ui/events/latency_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698