diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 05:14:00 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 05:14:00 +0000 |
commit | ebee45cb2ff9b8eda19a02f2474e6d4e2331fd30 (patch) | |
tree | 258800f472e72f649d11eea1e9ef701e5cfbb9b3 | |
parent | 6c377605a796251d51efe70e903218a6f2ea78b4 (diff) | |
download | chromium_src-ebee45cb2ff9b8eda19a02f2474e6d4e2331fd30.zip chromium_src-ebee45cb2ff9b8eda19a02f2474e6d4e2331fd30.tar.gz chromium_src-ebee45cb2ff9b8eda19a02f2474e6d4e2331fd30.tar.bz2 |
Update a few more function calls to use TimeDeltas instead of int ms.
I spotted and fixed another interface regression since my last round
of fixes. Can you review this?
R=tkent@chromium.org
BUG=108171
TEST=
Review URL: http://codereview.chromium.org/9302010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119855 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/support/webkit_support.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc index 7fd6678..f8925fb 100644 --- a/webkit/support/webkit_support.cc +++ b/webkit/support/webkit_support.cc @@ -451,12 +451,16 @@ WebDevToolsAgentClient::WebKitClientMessageLoop* CreateDevToolsMessageLoop() { void PostDelayedTask(void (*func)(void*), void* context, int64 delay_ms) { MessageLoop::current()->PostDelayedTask( - FROM_HERE, base::Bind(func, context), delay_ms); + FROM_HERE, + base::Bind(func, context), + base::TimeDelta::FromMilliseconds(delay_ms)); } void PostDelayedTask(TaskAdaptor* task, int64 delay_ms) { MessageLoop::current()->PostDelayedTask( - FROM_HERE, base::Bind(&TaskAdaptor::Run, base::Owned(task)), delay_ms); + FROM_HERE, + base::Bind(&TaskAdaptor::Run, base::Owned(task)), + base::TimeDelta::FromMilliseconds(delay_ms)); } // Wrappers for FilePath and file_util |