Index: Source/web/tests/ActivityLoggerTest.cpp |
diff --git a/Source/web/tests/ActivityLoggerTest.cpp b/Source/web/tests/ActivityLoggerTest.cpp |
index dc9710791f7800e229a028ef97c7ec4a032650b0..4a44753f72d932edc3708eb4a4ddd12df3fed95e 100644 |
--- a/Source/web/tests/ActivityLoggerTest.cpp |
+++ b/Source/web/tests/ActivityLoggerTest.cpp |
@@ -6,6 +6,7 @@ |
#include "FrameTestHelpers.h" |
#include "bindings/core/v8/ScriptController.h" |
+#include "bindings/core/v8/ScriptSourceCode.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8DOMActivityLogger.h" |
#include "web/WebLocalFrameImpl.h" |
@@ -78,7 +79,7 @@ protected: |
void executeScriptInIsolatedWorld(const String& script) const |
{ |
v8::HandleScope scope(v8::Isolate::GetCurrent()); |
- Vector<ScriptSourceCode> sources; |
+ WillBeHeapVector<ScriptSourceCode> sources; |
sources.append(ScriptSourceCode(script)); |
Vector<v8::Local<v8::Value>> results; |
m_scriptController->executeScriptInIsolatedWorld(isolatedWorldId, sources, extensionGroup, 0); |