Index: webkit/support/platform_support_android.cc |
diff --git a/webkit/support/platform_support_android.cc b/webkit/support/platform_support_android.cc |
index cce355752c8b71b769bba7a8a4c43f22201de47c..22e9d06950b1c5d790c7fdd4648deada7a75dbfd 100644 |
--- a/webkit/support/platform_support_android.cc |
+++ b/webkit/support/platform_support_android.cc |
@@ -48,13 +48,13 @@ void BeforeInitialize(bool unit_test_mode) { |
} |
void AfterInitialize(bool unit_test_mode) { |
- if (unit_test_mode) |
- return; // We don't have a resource pack when running the unit-tests. |
- |
FilePath data_path(kDumpRenderTreeDir); |
data_path = data_path.Append("DumpRenderTree.pak"); |
ResourceBundle::InitSharedInstanceWithPakPath(data_path); |
+ if (unit_test_mode) |
+ return; |
+ |
// We enable file-over-http to bridge the file protocol to http protocol |
// in here, which can |
// (1) run the layout tests on android target device, but never need to |