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

Unified Diff: chrome/browser/media_galleries/fileapi/picasa_file_util.cc

Issue 23442026: Media Galleries API Picasa: Fix PicasaFileUtil GetInfoSync minor bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/fileapi/picasa_file_util.cc
diff --git a/chrome/browser/media_galleries/fileapi/picasa_file_util.cc b/chrome/browser/media_galleries/fileapi/picasa_file_util.cc
index fa4ee100706b47baad79bbd542862e6bae7ce592..423a8cb88e7ff2701a48329d5a7aebe6f641bdde 100644
--- a/chrome/browser/media_galleries/fileapi/picasa_file_util.cc
+++ b/chrome/browser/media_galleries/fileapi/picasa_file_util.cc
@@ -103,9 +103,9 @@ base::PlatformFileError PicasaFileUtil::GetFileInfoSync(
base::PlatformFileInfo* file_info, base::FilePath* platform_path) {
DCHECK(context);
DCHECK(file_info);
- DCHECK(platform_path);
- *platform_path = base::FilePath();
+ if (platform_path)
+ *platform_path = base::FilePath();
std::vector<std::string> components;
fileapi::VirtualPath::GetComponentsUTF8Unsafe(url.path(), &components);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698