| Index: content/browser/plugin_service_impl.cc
|
| ===================================================================
|
| --- content/browser/plugin_service_impl.cc (revision 117096)
|
| +++ content/browser/plugin_service_impl.cc (working copy)
|
| @@ -135,10 +135,7 @@
|
| }
|
|
|
| PluginServiceImpl::PluginServiceImpl()
|
| - : plugin_list_(NULL),
|
| - ui_locale_(
|
| - content::GetContentClient()->browser()->GetApplicationLocale()),
|
| - filter_(NULL) {
|
| + : plugin_list_(NULL), filter_(NULL) {
|
| }
|
|
|
| PluginServiceImpl::~PluginServiceImpl() {
|
| @@ -232,10 +229,6 @@
|
| #endif
|
| }
|
|
|
| -const std::string& PluginServiceImpl::GetUILocale() {
|
| - return ui_locale_;
|
| -}
|
| -
|
| PluginProcessHost* PluginServiceImpl::FindNpapiPluginProcess(
|
| const FilePath& plugin_path) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| @@ -297,7 +290,7 @@
|
|
|
| // This plugin isn't loaded by any plugin process, so create a new process.
|
| scoped_ptr<PluginProcessHost> new_host(new PluginProcessHost());
|
| - if (!new_host->Init(info, ui_locale_)) {
|
| + if (!new_host->Init(info)) {
|
| NOTREACHED(); // Init is not expected to fail.
|
| return NULL;
|
| }
|
|
|