Index: chrome/common/chrome_paths.cc |
=================================================================== |
--- chrome/common/chrome_paths.cc (revision 136931) |
+++ chrome/common/chrome_paths.cc (working copy) |
@@ -145,7 +145,7 @@ |
FilePath cur; |
switch (key) { |
case chrome::DIR_USER_DATA: { |
- CommandLine *cmd_line = CommandLine::ForCurrentProcess(); |
+ CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |
if (cmd_line) { |
// In some tests this check might be happening after the CommandLine |
// object has been destroyed. This is DCHECKED but in release builds |
@@ -165,6 +165,10 @@ |
return false; |
create_dir = true; |
break; |
+ case chrome::DIR_USER_PICTURES: |
+ if (!GetUserPicturesDirectory(&cur)) |
+ return false; |
+ break; |
case chrome::DIR_DEFAULT_DOWNLOADS_SAFE: |
#if defined(OS_WIN) || defined(OS_LINUX) |
if (!GetUserDownloadsDirectorySafe(&cur)) |