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

Unified Diff: src/v8.h

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.h
diff --git a/src/v8.h b/src/v8.h
index 71dd42f49df8dae580a36492e306a07432d728d5..fefe381fa3027679defb946c7439ee13d0576f29 100644
--- a/src/v8.h
+++ b/src/v8.h
@@ -72,6 +72,9 @@ class V8 : public AllStatic {
static void InitializePlatform(v8::Platform* platform);
static void ShutdownPlatform();
static v8::Platform* GetCurrentPlatform();
+ // Replaces the current platform with the given platform.
+ // Should be used only for testing.
+ static void SetPlatformForTesting(v8::Platform* platform);
static void SetNativesBlob(StartupData* natives_blob);
static void SetSnapshotBlob(StartupData* snapshot_blob);

Powered by Google App Engine
This is Rietveld 408576698