Index: chrome/browser/printing/print_preview_test.cc |
=================================================================== |
--- chrome/browser/printing/print_preview_test.cc (revision 212185) |
+++ chrome/browser/printing/print_preview_test.cc (working copy) |
@@ -76,8 +76,8 @@ |
// The PluginService will be destroyed at the end of the test (due to the |
// ShadowingAtExitManager in our base class). |
- content::PluginService::GetInstance()->SetPluginListForTesting( |
- &plugin_list_); |
+ content::PluginService::GetInstance()->Init(); |
+ content::PluginService::GetInstance()->DisablePluginsDiscoveryForTesting(); |
profile()->GetPrefs()->SetBoolean(prefs::kPrintPreviewDisabled, false); |
} |