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

Unified Diff: gin/v8_platform.cc

Issue 1186173005: Revert of Implement V8Platform::CallDelayedOnForegroundThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « gin/public/v8_platform.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/v8_platform.cc
diff --git a/gin/v8_platform.cc b/gin/v8_platform.cc
index 881be434aa0c4088249b26ed1032933892fd22dd..24a33c8dfc5862ed13aa1f1159e6ac3894bdcb58 100644
--- a/gin/v8_platform.cc
+++ b/gin/v8_platform.cc
@@ -39,14 +39,6 @@
FROM_HERE, base::Bind(&v8::Task::Run, base::Owned(task)));
}
-void V8Platform::CallDelayedOnForegroundThread(v8::Isolate* isolate,
- v8::Task* task,
- double delay_in_seconds) {
- PerIsolateData::From(isolate)->task_runner()->PostDelayedTask(
- FROM_HERE, base::Bind(&v8::Task::Run, base::Owned(task)),
- base::TimeDelta::FromSecondsD(delay_in_seconds));
-}
-
double V8Platform::MonotonicallyIncreasingTime() {
return base::TimeTicks::Now().ToInternalValue() /
static_cast<double>(base::Time::kMicrosecondsPerSecond);
« no previous file with comments | « gin/public/v8_platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698