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

Unified Diff: ui/gl/angle_platform_impl.cc

Issue 1239593002: Implement a new flow event API that allows binding flow events and regular events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve format. Created 5 years, 5 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: ui/gl/angle_platform_impl.cc
diff --git a/ui/gl/angle_platform_impl.cc b/ui/gl/angle_platform_impl.cc
index a405f8e0859e1d577b9b18108b8aae5ea1523ac5..57e5a350fce19e87b8e02297c2bf577b36a21884 100644
--- a/ui/gl/angle_platform_impl.cc
+++ b/ui/gl/angle_platform_impl.cc
@@ -44,9 +44,19 @@ angle::Platform::TraceEventHandle ANGLEPlatformImpl::addTraceEvent(
base::TraceTicks() + base::TimeDelta::FromSecondsD(timestamp);
base::trace_event::TraceEventHandle handle =
TRACE_EVENT_API_ADD_TRACE_EVENT_WITH_THREAD_ID_AND_TIMESTAMP(
- phase, category_group_enabled, name, id, trace_event_internal::kNoId,
- base::PlatformThread::CurrentId(), timestamp_tt, num_args, arg_names,
- arg_types, arg_values, nullptr, flags);
+ phase,
+ category_group_enabled,
+ name,
+ id,
+ trace_event_internal::kNoId, // context_id
+ base::PlatformThread::CurrentId(),
beaudoin 2015/07/29 18:55:43 Ditto.
+ timestamp_tt,
+ num_args,
+ arg_names,
+ arg_types,
+ arg_values,
+ NULL,
+ flags);
angle::Platform::TraceEventHandle result;
memcpy(&result, &handle, sizeof(result));
return result;
« content/child/blink_platform_impl.cc ('K') | « ppapi/shared_impl/ppb_trace_event_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698