Index: webkit/glue/webkitplatformsupport_impl.cc |
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc |
index c688b5d615151e383a81198c56c48ea601dde760..0b22bd1c1a82904f9b2c7b7f5b59dca87b9a74f1 100644 |
--- a/webkit/glue/webkitplatformsupport_impl.cc |
+++ b/webkit/glue/webkitplatformsupport_impl.cc |
@@ -382,12 +382,28 @@ int WebKitPlatformSupportImpl::addTraceEvent( |
int threshold_begin_id, |
long long threshold, |
unsigned char flags) { |
- return TRACE_EVENT_API_ADD_TRACE_EVENT(phase, category_enabled, name, id, |
- num_args, arg_names, arg_types, |
- arg_values, threshold_begin_id, |
- threshold, flags); |
+ TRACE_EVENT_API_ADD_TRACE_EVENT(phase, category_enabled, name, id, |
+ num_args, arg_names, arg_types, |
+ arg_values, flags); |
+ return -1; |
} |
+void WebKitPlatformSupportImpl::addTraceEvent( |
+ char phase, |
+ const unsigned char* category_enabled, |
+ const char* name, |
+ unsigned long long id, |
+ int num_args, |
+ const char** arg_names, |
+ const unsigned char* arg_types, |
+ const unsigned long long* arg_values, |
+ unsigned char flags) { |
+ TRACE_EVENT_API_ADD_TRACE_EVENT(phase, category_enabled, name, id, |
+ num_args, arg_names, arg_types, |
+ arg_values, flags); |
+} |
+ |
+ |
namespace { |
WebData loadAudioSpatializationResource(WebKitPlatformSupportImpl* platform, |