diff options
Diffstat (limited to 'chrome/browser/web_contents.cc')
-rw-r--r-- | chrome/browser/web_contents.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/web_contents.cc b/chrome/browser/web_contents.cc index 5f1c124..cef4558 100644 --- a/chrome/browser/web_contents.cc +++ b/chrome/browser/web_contents.cc @@ -1257,10 +1257,10 @@ void WebContents::OnMissingPluginStatus(int status) { GetPluginInstaller()->OnMissingPluginStatus(status); } -void WebContents::OnCrashedPlugin(const std::wstring& plugin_path) { - DCHECK(!plugin_path.empty()); +void WebContents::OnCrashedPlugin(const FilePath& plugin_path) { + DCHECK(!plugin_path.value().empty()); - std::wstring plugin_name = plugin_path; + std::wstring plugin_name = plugin_path.ToWStringHack(); scoped_ptr<FileVersionInfo> version_info( FileVersionInfo::CreateFileVersionInfo(plugin_path)); if (version_info.get()) { |