Chromium Code Reviews| Index: content/public/test/content_test_suite_base.cc |
| diff --git a/content/public/test/content_test_suite_base.cc b/content/public/test/content_test_suite_base.cc |
| index 6fa29b068bb7220f48fcdc67a835d4f9927b4576..e78be44e49533de6f748f0ac0ef2bf3ad3a3a1db 100644 |
| --- a/content/public/test/content_test_suite_base.cc |
| +++ b/content/public/test/content_test_suite_base.cc |
| @@ -37,6 +37,10 @@ |
| #include "ui/shell_dialogs/android/shell_dialogs_jni_registrar.h" |
| #endif |
| +#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
| +#include "gin/public/isolate_holder.h" |
| +#endif |
| + |
| namespace content { |
| class ContentTestSuiteBaseListener : public testing::EmptyTestEventListener { |
| @@ -62,6 +66,10 @@ void ContentTestSuiteBase::Initialize() { |
| // by tests. |
| base::StatisticsRecorder::Initialize(); |
| +#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
| + gin::IsolateHolder::LoadV8Snapshot(); |
|
rmcilroy
2014/10/06 15:41:03
I'm not sure if this is the right place for this -
baixo
2014/10/07 14:53:27
Moved this to content/public/test/render_view_test
|
| +#endif |
| + |
| #if defined(OS_ANDROID) |
| // Register JNI bindings for android. |
| JNIEnv* env = base::android::AttachCurrentThread(); |