Commit f378c922 authored by dtapuska's avatar dtapuska Committed by Commit bot

Remove HTMLPlugin WTF logging.

Replace two Plugins logging with VLOG(1). This has a slight change in that
it uses operator<< on Node.h as opposed to logging the address of the
HTML Plugin Element; I do think this is slightly more useful than the
previous log info.

BUG=596760

Review URL: https://codereview.chromium.org/1845533002

Cr-Commit-Position: refs/heads/master@{#383902}
parent ed80370e
...@@ -507,8 +507,8 @@ bool HTMLPlugInElement::loadPlugin(const KURL& url, const String& mimeType, cons ...@@ -507,8 +507,8 @@ bool HTMLPlugInElement::loadPlugin(const KURL& url, const String& mimeType, cons
if ((layoutItem.isNull() && requireLayoutObject) || useFallback) if ((layoutItem.isNull() && requireLayoutObject) || useFallback)
return false; return false;
WTF_LOG(Plugins, "%p Plugin URL: %s", this, m_url.utf8().data()); VLOG(1) << this << " Plugin URL: " << m_url;
WTF_LOG(Plugins, " Loaded URL: %s", url.getString().utf8().data()); VLOG(1) << "Loaded URL: " << url.getString();
m_loadedUrl = url; m_loadedUrl = url;
if (m_persistedPluginWidget) { if (m_persistedPluginWidget) {
......
...@@ -34,7 +34,6 @@ namespace blink { ...@@ -34,7 +34,6 @@ namespace blink {
WTFLogChannel LogFileAPI = { WTFLogChannelOff }; WTFLogChannel LogFileAPI = { WTFLogChannelOff };
WTFLogChannel LogMedia = { WTFLogChannelOff }; WTFLogChannel LogMedia = { WTFLogChannelOff };
WTFLogChannel LogNetwork = { WTFLogChannelOff }; WTFLogChannel LogNetwork = { WTFLogChannelOff };
WTFLogChannel LogPlugins = { WTFLogChannelOff };
WTFLogChannel LogResourceLoading = { WTFLogChannelOff }; WTFLogChannel LogResourceLoading = { WTFLogChannelOff };
WTFLogChannel LogSQLDatabase = { WTFLogChannelOff }; WTFLogChannel LogSQLDatabase = { WTFLogChannelOff };
WTFLogChannel LogStorageAPI = { WTFLogChannelOff }; WTFLogChannel LogStorageAPI = { WTFLogChannelOff };
...@@ -54,9 +53,6 @@ WTFLogChannel* getChannelFromName(const String& channelName) ...@@ -54,9 +53,6 @@ WTFLogChannel* getChannelFromName(const String& channelName)
if (equalIgnoringCase(channelName, String("ResourceLoading"))) if (equalIgnoringCase(channelName, String("ResourceLoading")))
return &LogResourceLoading; return &LogResourceLoading;
if (equalIgnoringCase(channelName, String("Plugins")))
return &LogPlugins;
if (equalIgnoringCase(channelName, String("SQLDatabase"))) if (equalIgnoringCase(channelName, String("SQLDatabase")))
return &LogSQLDatabase; return &LogSQLDatabase;
......
...@@ -41,7 +41,6 @@ namespace blink { ...@@ -41,7 +41,6 @@ namespace blink {
PLATFORM_EXPORT extern WTFLogChannel LogFileAPI; PLATFORM_EXPORT extern WTFLogChannel LogFileAPI;
PLATFORM_EXPORT extern WTFLogChannel LogMedia; PLATFORM_EXPORT extern WTFLogChannel LogMedia;
PLATFORM_EXPORT extern WTFLogChannel LogNetwork; PLATFORM_EXPORT extern WTFLogChannel LogNetwork;
PLATFORM_EXPORT extern WTFLogChannel LogPlugins;
PLATFORM_EXPORT extern WTFLogChannel LogResourceLoading; PLATFORM_EXPORT extern WTFLogChannel LogResourceLoading;
PLATFORM_EXPORT extern WTFLogChannel LogSQLDatabase; PLATFORM_EXPORT extern WTFLogChannel LogSQLDatabase;
PLATFORM_EXPORT extern WTFLogChannel LogStorageAPI; PLATFORM_EXPORT extern WTFLogChannel LogStorageAPI;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment