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

Unified Diff: content/test/blink_test_environment.cc

Issue 2240043002: Remove WTF_LOG(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: foo Created 4 years, 4 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 | « content/renderer/render_thread_impl.cc ('k') | third_party/WebKit/Source/config.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/blink_test_environment.cc
diff --git a/content/test/blink_test_environment.cc b/content/test/blink_test_environment.cc
index 5a15580198dfe7cab3167d2c9214e658faaaf66c..7790025e634e6a6b627181c8b08e1c0a21c226d6 100644
--- a/content/test/blink_test_environment.cc
+++ b/content/test/blink_test_environment.cc
@@ -34,21 +34,6 @@ namespace content {
namespace {
-void EnableBlinkPlatformLogChannels(const std::string& channels) {
- if (channels.empty())
- return;
- base::StringTokenizer t(channels, ", ");
- while (t.GetNext())
- blink::enableLogChannel(t.token().c_str());
-}
-
-void ParseBlinkCommandLineArgumentsForUnitTests() {
- const base::CommandLine& command_line =
- *base::CommandLine::ForCurrentProcess();
- EnableBlinkPlatformLogChannels(
- command_line.GetSwitchValueASCII(switches::kBlinkPlatformLogChannels));
-}
-
class TestEnvironment {
public:
#if defined(OS_ANDROID)
@@ -88,8 +73,6 @@ TestEnvironment* test_environment;
} // namespace
void SetUpBlinkTestEnvironment() {
- ParseBlinkCommandLineArgumentsForUnitTests();
-
blink::WebRuntimeFeatures::enableExperimentalFeatures(true);
blink::WebRuntimeFeatures::enableTestOnlyFeatures(true);
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | third_party/WebKit/Source/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698