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

Unified Diff: Source/platform/SharedTimer.cpp

Issue 656463004: Use the scheduling mechanism provided by the platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed header path. Created 6 years, 2 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: Source/platform/SharedTimer.cpp
diff --git a/Source/platform/SharedTimer.cpp b/Source/platform/SharedTimer.cpp
index b0998df726ec00a5e315357dc1dd0effa9ec9465..09efb4911476fa2b9d454bbe04f2331ba23dea4e 100644
--- a/Source/platform/SharedTimer.cpp
+++ b/Source/platform/SharedTimer.cpp
@@ -26,24 +26,23 @@
#include "config.h"
#include "platform/SharedTimer.h"
-#include "platform/scheduler/Scheduler.h"
#include "public/platform/Platform.h"
namespace blink {
void setSharedTimerFiredFunction(void (*f)())
{
- Scheduler::shared()->setSharedTimerFiredFunction(f);
+ Platform::current()->setSharedTimerFiredFunction(f);
}
void setSharedTimerFireInterval(double fireTime)
{
- Scheduler::shared()->setSharedTimerFireInterval(fireTime);
+ Platform::current()->setSharedTimerFireInterval(fireTime);
}
void stopSharedTimer()
{
- Scheduler::shared()->stopSharedTimer();
+ Platform::current()->stopSharedTimer();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698