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

Unified Diff: Source/platform/Logging.cpp

Issue 604373003: [WIP] Supporting arm_neon_optional flag for blink platform. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « Source/platform/Logging.h ('k') | Source/platform/audio/VectorMath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/Logging.cpp
diff --git a/Source/platform/Logging.cpp b/Source/platform/Logging.cpp
index f10e5a624372055473c6d189697ba7fc22dde7bc..10f9bbfbe059a2bd897dfe11c232a5f5dbd671d2 100644
--- a/Source/platform/Logging.cpp
+++ b/Source/platform/Logging.cpp
@@ -69,6 +69,7 @@ WTFLogChannel LogGamepad = { WTFLogChannelOff };
WTFLogChannel LogScriptedAnimationController = { WTFLogChannelOff };
WTFLogChannel LogTimers = { WTFLogChannelOff };
+WTFLogChannel LogCPU = { WTFLogChannelOff };
WTFLogChannel* getChannelFromName(const String& channelName)
{
@@ -156,6 +157,9 @@ WTFLogChannel* getChannelFromName(const String& channelName)
if (equalIgnoringCase(channelName, String("Timers")))
return &LogTimers;
+ if (equalIgnoringCase(channelName, String(CPU)))
+ return &LogCPU;
+
return 0;
}
« no previous file with comments | « Source/platform/Logging.h ('k') | Source/platform/audio/VectorMath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698