| Index: ui/base/resource/resource_bundle_android.cc
|
| ===================================================================
|
| --- ui/base/resource/resource_bundle_android.cc (revision 135347)
|
| +++ ui/base/resource/resource_bundle_android.cc (working copy)
|
| @@ -17,9 +17,11 @@
|
|
|
| FilePath GetResourcesPakFilePath(const std::string& pak_name) {
|
| FilePath path;
|
| - PathService::Get(base::DIR_ANDROID_APP_DATA, &path);
|
| - DCHECK(!path.empty());
|
| - return path.AppendASCII("paks").AppendASCII(pak_name.c_str());
|
| + if (PathService::Get(base::DIR_ANDROID_APP_DATA, &path))
|
| + return path.AppendASCII("paks").AppendASCII(pak_name.c_str());
|
| +
|
| + // Return just the name of the pack file.
|
| + return FilePath(pak_name.c_str());
|
| }
|
|
|
| } // namespace
|
|
|