Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index 0c8b2efd5fa2187a0852084aefd7a88f6f629318..0be789fa2921f9a5e17af98cbf080147fa725af5 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -214,7 +214,6 @@ void RenderThreadImpl::Init() { |
// In single process the single process is all there is. |
suspend_webkit_shared_timer_ = true; |
notify_webkit_of_modal_loop_ = true; |
- plugin_refresh_allowed_ = true; |
widget_count_ = 0; |
hidden_widget_count_ = 0; |
idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs; |
@@ -1036,9 +1035,9 @@ void RenderThreadImpl::OnPurgePluginListCache(bool reload_pages) { |
// point we already know that the browser has refreshed its list, so disable |
// refresh temporarily to prevent each renderer process causing the list to be |
// regenerated. |
- plugin_refresh_allowed_ = false; |
+ webkit_platform_support_->set_plugin_refresh_allowed(false); |
WebKit::resetPluginCache(reload_pages); |
- plugin_refresh_allowed_ = true; |
+ webkit_platform_support_->set_plugin_refresh_allowed(true); |
FOR_EACH_OBSERVER(RenderProcessObserver, observers_, PluginListChanged()); |
} |