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

Unified Diff: include/v8-platform.h

Issue 345903004: Split out libplatform into a separate libary (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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: include/v8-platform.h
diff --git a/include/v8-platform.h b/include/v8-platform.h
index 5667211c3211bd07ada74c4bda8c2322c4810b63..d8ef044404c87aeb1211c4c024ad9fef11716560 100644
--- a/include/v8-platform.h
+++ b/include/v8-platform.h
@@ -37,6 +37,8 @@ class Platform {
kLongRunningTask
};
+ virtual ~Platform() {}
+
/**
* Schedules a task to be invoked on a background thread. |expected_runtime|
* indicates that the task will run a long time. The Platform implementation
@@ -53,9 +55,6 @@ class Platform {
* scheduling. The definition of "foreground" is opaque to V8.
*/
virtual void CallOnForegroundThread(Isolate* isolate, Task* task) = 0;
-
- protected:
- virtual ~Platform() {}
};
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698