| Index: content/public/test/render_view_test.cc
|
| diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
|
| index f8f00883209885e0b9cd735ee3076c5d58efb7b0..ef26912f54066defe065dc7d777de9f0708a81a5 100644
|
| --- a/content/public/test/render_view_test.cc
|
| +++ b/content/public/test/render_view_test.cc
|
| @@ -38,6 +38,10 @@
|
| #include "base/mac/scoped_nsautorelease_pool.h"
|
| #endif
|
|
|
| +#ifdef V8_USE_EXTERNAL_STARTUP_DATA
|
| +#include "gin/public/isolate_holder.h"
|
| +#endif
|
| +
|
| using blink::WebInputEvent;
|
| using blink::WebLocalFrame;
|
| using blink::WebMouseEvent;
|
| @@ -165,6 +169,11 @@ void RenderViewTest::SetUp() {
|
| // hacky, but this is the world we live in...
|
| std::string flags("--expose-gc");
|
| v8::V8::SetFlagsFromString(flags.c_str(), static_cast<int>(flags.size()));
|
| +
|
| +#ifdef V8_USE_EXTERNAL_STARTUP_DATA
|
| + gin::IsolateHolder::LoadV8Snapshot();
|
| +#endif
|
| +
|
| blink::initialize(blink_platform_impl_.Get());
|
|
|
| // Ensure that we register any necessary schemes when initializing WebKit,
|
|
|