Index: chrome/renderer/plugins/chrome_plugin_placeholder.cc |
diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.cc b/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
index 575aeda7650705131a85049e139a019fa22be305..0f35197e27cbaacbde7c35fa4d943306f4e8f3fe 100644 |
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
@@ -260,9 +260,6 @@ void ChromePluginPlaceholder::OnCancelledDownloadingPlugin() { |
void ChromePluginPlaceholder::PluginListChanged() { |
if (!GetFrame() || !plugin()) |
return; |
- blink::WebDocument document = GetFrame()->top()->document(); |
- if (document.isNull()) |
- return; |
ChromeViewHostMsg_GetPluginInfo_Output output; |
std::string mime_type(GetPluginParams().mimeType.utf8()); |