Index: chrome/browser/chromeos/gview_request_interceptor_unittest.cc |
diff --git a/chrome/browser/chromeos/gview_request_interceptor_unittest.cc b/chrome/browser/chromeos/gview_request_interceptor_unittest.cc |
index 63f76cc904ed90fe876e7e81df0b476aec67a4a4..556a9f79d140508ccf6782c25eb029c78825c70f 100644 |
--- a/chrome/browser/chromeos/gview_request_interceptor_unittest.cc |
+++ b/chrome/browser/chromeos/gview_request_interceptor_unittest.cc |
@@ -66,7 +66,10 @@ class GViewRequestInterceptorTest : public testing::Test { |
} |
void RegisterPDFPlugin() { |
- webkit::npapi::PluginList::Singleton()->RegisterInternalPlugin(pdf_path_); |
+ webkit::npapi::WebPluginInfo info; |
+ info.path = pdf_path_; |
+ info.enabled = true; |
+ webkit::npapi::PluginList::Singleton()->RegisterInternalPlugin(info); |
webkit::npapi::PluginList::Singleton()->RefreshPlugins(); |
} |