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

Unified Diff: base/win/event_trace_consumer.h

Issue 1124763003: Update from https://crrev.com/327068 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update nacl, buildtools, fix display_change_notifier_unittest Created 5 years, 7 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
Index: base/win/event_trace_consumer.h
diff --git a/base/win/event_trace_consumer.h b/base/win/event_trace_consumer.h
index 9322e1e9b4fc4dc1ab3e4d62c9991edb7a0a12fe..fd44894993f8b37ab29a2af1da6a4ee404ed5d15 100644
--- a/base/win/event_trace_consumer.h
+++ b/base/win/event_trace_consumer.h
@@ -119,7 +119,7 @@ HRESULT EtwTraceConsumerBase<ImplClass>::OpenFileSession(
template <class ImplClass> inline
HRESULT EtwTraceConsumerBase<ImplClass>::Consume() {
ULONG err = ::ProcessTrace(&trace_handles_[0],
- trace_handles_.size(),
+ static_cast<ULONG>(trace_handles_.size()),
NULL,
NULL);
return HRESULT_FROM_WIN32(err);

Powered by Google App Engine
This is Rietveld 408576698