Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: Source/bindings/core/v8/ScriptPreprocessor.cpp

Issue 847803002: Make ScriptStreamer and dependents Oilpan friendly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ScriptSourceCode::isNull() comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/v8/ScriptDebugServer.cpp ('k') | Source/bindings/core/v8/ScriptSourceCode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptPreprocessor.cpp
diff --git a/Source/bindings/core/v8/ScriptPreprocessor.cpp b/Source/bindings/core/v8/ScriptPreprocessor.cpp
index 0df0d7aeb0a95fa2949bb9064fe01446f3e248f3..d167212ef2f4b3af05af35089166ffb71ac29a0f 100644
--- a/Source/bindings/core/v8/ScriptPreprocessor.cpp
+++ b/Source/bindings/core/v8/ScriptPreprocessor.cpp
@@ -54,7 +54,7 @@ ScriptPreprocessor::ScriptPreprocessor(v8::Isolate* isolate, const ScriptSourceC
ASSERT(frame);
v8::TryCatch tryCatch;
tryCatch.SetVerbose(true);
- Vector<ScriptSourceCode> sources;
+ WillBeHeapVector<ScriptSourceCode> sources;
sources.append(preprocessorSourceCode);
Vector<v8::Local<v8::Value> > scriptResults;
frame->script().executeScriptInIsolatedWorld(ScriptPreprocessorIsolatedWorldId, sources, DOMWrapperWorld::mainWorldExtensionGroup, &scriptResults);
« no previous file with comments | « Source/bindings/core/v8/ScriptDebugServer.cpp ('k') | Source/bindings/core/v8/ScriptSourceCode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698