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: webkit/glue/webkitplatformsupport_impl.cc

Issue 11557009: Remove support for TRACE_EVENT_IF_LONGER_THANx macros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: 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,
« gpu/command_buffer/client/cmd_buffer_helper.cc ('K') | « webkit/glue/webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698