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

Unified Diff: webkit/plugins/ppapi/ppb_file_ref_impl.cc

Issue 7237044: Make PP_TimeTicks actually be a tick counter rather than be the same as the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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: webkit/plugins/ppapi/ppb_file_ref_impl.cc
===================================================================
--- webkit/plugins/ppapi/ppb_file_ref_impl.cc (revision 91742)
+++ webkit/plugins/ppapi/ppb_file_ref_impl.cc (working copy)
@@ -17,6 +17,7 @@
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
#include "webkit/plugins/ppapi/ppb_directory_reader_impl.h"
#include "webkit/plugins/ppapi/ppb_file_system_impl.h"
+#include "webkit/plugins/ppapi/time_conversion.h"
#include "webkit/plugins/ppapi/var.h"
using ppapi::thunk::EnterResourceNoLock;
@@ -181,8 +182,8 @@
return PP_ERROR_NOACCESS;
if (!instance()->delegate()->Touch(
GetFileSystemURL(),
- base::Time::FromDoubleT(last_access_time),
- base::Time::FromDoubleT(last_modified_time),
+ PPTimeToTime(last_access_time),
+ PPTimeToTime(last_modified_time),
new FileCallbacks(instance()->module()->AsWeakPtr(),
GetReferenceNoAddRef(), callback,
NULL, NULL, NULL)))

Powered by Google App Engine
This is Rietveld 408576698