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

Unified Diff: src/v8.cc

Issue 1265423002: Use idle task to perform incremental marking steps. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add tracing Created 5 years, 4 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
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index d16dbee255397455a2f8a78cc01f65a1ee50658b..27657b6e2febda4a341982f444f96aec4a3aef69 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -126,6 +126,9 @@ v8::Platform* V8::GetCurrentPlatform() {
}
+void V8::SetPlatformForTesting(v8::Platform* platform) { platform_ = platform; }
+
+
void V8::SetNativesBlob(StartupData* natives_blob) {
#ifdef V8_USE_EXTERNAL_STARTUP_DATA
base::CallOnce(&init_natives_once, &SetNativesFromFile, natives_blob);

Powered by Google App Engine
This is Rietveld 408576698