summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 00:09:35 +0000
committerstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 00:09:35 +0000
commitd32d46180799e50f74d8b27fc1e5ab1454dbcef0 (patch)
treec7c921b5db3f9de3a9cd0a8cdbb25bbffa315b4e /chrome/browser/tab_contents
parent79579f21d548e01a55e9205e1916d1d6a1f0ac7e (diff)
downloadchromium_src-d32d46180799e50f74d8b27fc1e5ab1454dbcef0.zip
chromium_src-d32d46180799e50f74d8b27fc1e5ab1454dbcef0.tar.gz
chromium_src-d32d46180799e50f74d8b27fc1e5ab1454dbcef0.tar.bz2
Flip on crashed plugin name lookup on the Mac.
BUG=none TEST=Running with --enable-plugins on, go to a page with a plugin and kill the plugin process. The info bar should list the name of the plugin rather than its path. Review URL: http://codereview.chromium.org/155952 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 79b78eb..e91f188 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -1544,7 +1544,7 @@ void TabContents::OnCrashedPlugin(const FilePath& plugin_path) {
DCHECK(!plugin_path.value().empty());
std::wstring plugin_name = plugin_path.ToWStringHack();
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_MACOSX)
scoped_ptr<FileVersionInfo> version_info(
FileVersionInfo::CreateFileVersionInfo(plugin_path));
if (version_info.get()) {