| Index: content/browser/plugin_data_remover_impl.cc
|
| diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc
|
| index 43930ba1de7eb359783b1f0cafcdd7e72dd6bb75..36cc23fe47f99d89a3df1f503af02167cdf2c3f1 100644
|
| --- a/content/browser/plugin_data_remover_impl.cc
|
| +++ b/content/browser/plugin_data_remover_impl.cc
|
| @@ -91,9 +91,14 @@ class PluginDataRemoverImpl::Context
|
| std::vector<WebPluginInfo> plugins;
|
| plugin_service->GetPluginInfoArray(
|
| GURL(), mime_type, false, &plugins, NULL);
|
| - base::FilePath plugin_path;
|
| - if (!plugins.empty()) // May be empty for some tests.
|
| - plugin_path = plugins[0].path;
|
| +
|
| + if (plugins.empty()) {
|
| + // May be empty for some tests and on the CrOS login OOBE screen.
|
| + event_->Signal();
|
| + return;
|
| + }
|
| +
|
| + base::FilePath plugin_path = plugins[0].path;
|
|
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| remove_start_time_ = base::Time::Now();
|
|
|