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

Unified Diff: Source/platform/Logging.cpp

Issue 715753002: [WIP] support arm_neon_optional flag in blink. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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.cpp » ('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..6227fd0d241177fcc6d3c634106e4690a0890751 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.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698