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

Unified Diff: sky/engine/platform/EventTracer.h

Issue 893503002: Remove unused trace sampling states (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/Init.cpp ('k') | sky/engine/platform/EventTracer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/EventTracer.h
diff --git a/sky/engine/platform/EventTracer.h b/sky/engine/platform/EventTracer.h
index 0858eece9880002a2370518abc39febefab08238..12ad2d15930adf3be4c8035ed232817eb44617fc 100644
--- a/sky/engine/platform/EventTracer.h
+++ b/sky/engine/platform/EventTracer.h
@@ -50,12 +50,8 @@ public:
}
-// FIXME: Make these global variables thread-safe. Make a value update atomic.
-PLATFORM_EXPORT extern long* traceSamplingState[3];
-
class PLATFORM_EXPORT EventTracer {
public:
- static void initialize();
static const unsigned char* getTraceCategoryEnabledFlag(const char*);
static TraceEvent::TraceEventHandle addTraceEvent(char phase,
const unsigned char* categoryEnabledFlag,
« no previous file with comments | « sky/engine/core/Init.cpp ('k') | sky/engine/platform/EventTracer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698