| Index: content/test/content_test_launcher.cc
|
| diff --git a/content/test/content_test_launcher.cc b/content/test/content_test_launcher.cc
|
| index 92234425ee3fed98aeec145307e44f0e9a108182..05c29c8baba224c4938f3587b6997c4183d02b76 100644
|
| --- a/content/test/content_test_launcher.cc
|
| +++ b/content/test/content_test_launcher.cc
|
| @@ -18,6 +18,9 @@
|
| #include "content/public/test/content_test_suite_base.h"
|
| #include "content/shell/app/shell_main_delegate.h"
|
| #include "content/shell/common/shell_switches.h"
|
| +#ifdef V8_USE_EXTERNAL_STARTUP_DATA
|
| +#include "gin/public/isolate_holder.h"
|
| +#endif // V8_USE_EXTERNAL_STARTUP_DATA
|
| #include "media/base/media_switches.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -54,6 +57,9 @@ class ContentBrowserTestSuite : public ContentTestSuiteBase {
|
| #if defined(OS_ANDROID)
|
| base::i18n::AllowMultipleInitializeCallsForTesting();
|
| base::i18n::InitializeICU();
|
| +#ifdef V8_USE_EXTERNAL_STARTUP_DATA
|
| + gin::IsolateHolder::LoadV8Snapshot();
|
| +#endif // V8_USE_EXTERNAL_STARTUP_DATA
|
|
|
| // This needs to be done before base::TestSuite::Initialize() is called,
|
| // as it also tries to set MessagePumpForUIFactory.
|
|
|