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

Unified Diff: media/base/media.cc

Issue 1254463002: media: Always enable trace event for "media" category group. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« base/trace_event/trace_event.h ('K') | « base/trace_event/trace_event.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media.cc
diff --git a/media/base/media.cc b/media/base/media.cc
index 388c6e0eb352d81ab2c7bb390c66392d4366b1ce..55bcfb1e71ebaa3aa602ef55fb103d1805530be2 100644
--- a/media/base/media.cc
+++ b/media/base/media.cc
@@ -8,6 +8,7 @@
#include "base/lazy_instance.h"
#include "base/path_service.h"
#include "base/synchronization/lock.h"
+#include "base/trace_event/trace_event.h"
#include "build/build_config.h"
#include "media/base/yuv_convert.h"
@@ -23,6 +24,8 @@ class MediaInitializer {
friend struct base::DefaultLazyInstanceTraits<MediaInitializer>;
MediaInitializer() {
+ TRACE_EVENT_INIT_CATEGORY("media");
+
// Perform initialization of libraries which require runtime CPU detection.
InitializeCPUSpecificYUVConversions();
« base/trace_event/trace_event.h ('K') | « base/trace_event/trace_event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698