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

Unified Diff: content/shell/shell_main_delegate.cc

Issue 10703109: Move the android data dir retrieving code out of DCHECK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: content/shell/shell_main_delegate.cc
diff --git a/content/shell/shell_main_delegate.cc b/content/shell/shell_main_delegate.cc
index db6efc47cc589ff11b03d0962e396b0974762511..520cfe98a2e82baad0391cc415d1d66e7b5cb0f8 100644
--- a/content/shell/shell_main_delegate.cc
+++ b/content/shell/shell_main_delegate.cc
@@ -95,7 +95,8 @@ void ShellMainDelegate::InitializeResourceBundle() {
FilePath pak_dir;
#if defined(OS_ANDROID)
- DCHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &pak_dir));
+ bool got_path = PathService::Get(base::DIR_ANDROID_APP_DATA, &pak_dir);
+ DCHECK(got_path);
pak_dir = pak_dir.Append(FILE_PATH_LITERAL("paks"));
#else
PathService::Get(base::DIR_MODULE, &pak_dir);
« 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