summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_plugin_module.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_module.cc')
-rw-r--r--webkit/glue/plugins/pepper_plugin_module.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_module.cc b/webkit/glue/plugins/pepper_plugin_module.cc
index 0845479..ea58d5628 100644
--- a/webkit/glue/plugins/pepper_plugin_module.cc
+++ b/webkit/glue/plugins/pepper_plugin_module.cc
@@ -124,6 +124,13 @@ double GetTime() {
return base::Time::Now().ToDoubleT();
}
+double GetTickTime() {
+ // TODO(brettw) http://code.google.com/p/chromium/issues/detail?id=57448
+ // This should be a tick timer rather than wall clock time, but needs to
+ // match message times, which also currently use wall clock time.
+ return GetTime();
+}
+
void CallOnMainThread(int delay_in_msec,
PP_CompletionCallback callback,
int32_t result) {
@@ -143,6 +150,7 @@ const PPB_Core core_interface = {
&MemAlloc,
&MemFree,
&GetTime,
+ &GetTickTime,
&CallOnMainThread,
&IsMainThread
};