Index: chrome/common/chrome_content_client.cc |
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
index cbb47ddf0c9cb496b29e6a45b27d0ad8d5ffa495..9df94d8049a5bee43accfc9f1a2396cdb133132b 100644 |
--- a/chrome/common/chrome_content_client.cc |
+++ b/chrome/common/chrome_content_client.cc |
@@ -231,6 +231,9 @@ void AddPepperFlash(std::vector<content::PepperPluginInfo>* plugins) { |
#if defined(FLAPPER_AVAILABLE) |
if (!PathService::Get(chrome::FILE_PEPPER_FLASH_PLUGIN, &plugin.path)) |
return; |
+ DCHECK(file_util::PathExists(plugin.path)) |
viettrungluu
2012/04/18 16:24:39
This, I believe, causes file IO to be done on the
Joao da Silva
2012/04/19 13:27:22
This function is similar to ComputeBuiltInPlugins(
viettrungluu
2012/04/19 23:34:25
ComputeBuiltInPlugins() should be fixed. Well, mor
viettrungluu
2012/04/20 05:32:11
Forgot to say: lgtm with a less verbose message.
Joao da Silva
2012/04/20 10:00:30
Removed the log message altogether, and left a com
|
+ << "FLAPPER_AVAILABLE is defined but the plugin does not exist. " |
+ << "Use --" << switches::kDisableBundledPpapiFlash; |
flash_version = FLAPPER_VERSION_STRING; |
#else |
LOG(ERROR) << "PPAPI Flash not included at build time."; |