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

Unified Diff: content/renderer/render_thread_impl.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/public/common/content_switches.cc ('k') | content/test/blink_test_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 32814bb716a32d57ba8efb2df39280e879305ad8..170ea97cbb1bea8dc8af56043ea268a8fe98f453 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -26,7 +26,6 @@
#include "base/strings/string16.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
-#include "base/strings/string_tokenizer.h"
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/threading/simple_thread.h"
@@ -325,14 +324,6 @@ std::unique_ptr<cc::SharedBitmap> AllocateSharedBitmapFunction(
AllocateSharedBitmap(size);
}
-void EnableBlinkPlatformLogChannels(const std::string& channels) {
- if (channels.empty())
- return;
- base::StringTokenizer t(channels, ", ");
- while (t.GetNext())
- blink::enableLogChannel(t.token().c_str());
-}
-
void NotifyTimezoneChangeOnThisThread() {
v8::Isolate* isolate = v8::Isolate::GetCurrent();
if (!isolate)
@@ -1251,9 +1242,6 @@ void RenderThreadImpl::InitializeWebKit(
RenderThreadImpl::RegisterSchemes();
- EnableBlinkPlatformLogChannels(
- command_line.GetSwitchValueASCII(switches::kBlinkPlatformLogChannels));
-
RenderMediaClient::Initialize();
devtools_agent_message_filter_ = new DevToolsAgentFilter();
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/test/blink_test_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698