Index: ui/base/ui_base_paths.cc |
diff --git a/ui/base/ui_base_paths.cc b/ui/base/ui_base_paths.cc |
index 083315d422833c6d7c59ef1d93fddc9ddb12f51e..c0246f8b2b3351aec9a8abfc20a2534dd4ed6d9f 100644 |
--- a/ui/base/ui_base_paths.cc |
+++ b/ui/base/ui_base_paths.cc |
@@ -60,8 +60,13 @@ bool PathProvider(int key, base::FilePath* result) { |
break; |
#endif |
case UI_TEST_PAK: |
+#if defined(OS_ANDROID) |
+ if (!PathService::Get(ui::DIR_RESOURCE_PAKS_ANDROID, &cur)) |
+ return false; |
+#else |
if (!PathService::Get(base::DIR_MODULE, &cur)) |
return false; |
+#endif |
cur = cur.AppendASCII("ui_test.pak"); |
break; |
default: |