Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1090)

Unified Diff: webkit/plugins/npapi/plugin_list_win.cc

Issue 13196006: Move path functions from file_util to FilePath object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/npapi/plugin_list_win.cc
diff --git a/webkit/plugins/npapi/plugin_list_win.cc b/webkit/plugins/npapi/plugin_list_win.cc
index dd7e036b1eedf21bd8bdda416bb0f95c5b64de6d..b8ca7a6e9c9aad2c46552f3a7a0adf7db9a3e33c 100644
--- a/webkit/plugins/npapi/plugin_list_win.cc
+++ b/webkit/plugins/npapi/plugin_list_win.cc
@@ -419,8 +419,7 @@ bool PluginList::ShouldLoadPluginUsingPluginList(
#if !defined(ARCH_CPU_X86_64)
// The plugin in question could be a 64 bit plugin which we cannot load.
base::FilePath plugin_path(info.path);
- file_util::AbsolutePath(&plugin_path);
- if (!IsValid32BitImage(plugin_path))
+ if (!IsValid32BitImage(plugin_path.AsAbsolute()))
return false;
#endif
return true;

Powered by Google App Engine
This is Rietveld 408576698