diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 01:40:01 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 01:40:01 +0000 |
commit | f2ad6f5420484a071b317f5ad68a7f8e409a525f (patch) | |
tree | f565e17e27ad39018c256cb53027b09b9a8e84c3 /webkit | |
parent | 46a519fba6cefd6ca03a2643ded86bfe7d8f6d4d (diff) | |
download | chromium_src-f2ad6f5420484a071b317f5ad68a7f8e409a525f.zip chromium_src-f2ad6f5420484a071b317f5ad68a7f8e409a525f.tar.gz chromium_src-f2ad6f5420484a071b317f5ad68a7f8e409a525f.tar.bz2 |
Update uses of TimeDelta in chrome_frame/*. Also update a bit of TimeDelta use in webkit npapi code.
Adding robertshield for his thoughts on this.
R=ananta@chromium.org
BUG=108171
Review URL: http://codereview.chromium.org/10019015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/plugins/npapi/webplugin_delegate_impl_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc index 2b1229a..cb6a2e8 100644 --- a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc +++ b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc @@ -821,7 +821,7 @@ void WebPluginDelegateImpl::OnThrottleMessage() { if (!throttle_queue_was_empty) { MessageLoop::current()->PostDelayedTask( FROM_HERE, base::Bind(&WebPluginDelegateImpl::OnThrottleMessage), - kFlashWMUSERMessageThrottleDelayMs); + base::TimeDelta::FromMilliseconds(kFlashWMUSERMessageThrottleDelayMs)); } } @@ -844,7 +844,7 @@ void WebPluginDelegateImpl::ThrottleMessage(WNDPROC proc, HWND hwnd, if (throttle_queue->size() == 1) { MessageLoop::current()->PostDelayedTask( FROM_HERE, base::Bind(&WebPluginDelegateImpl::OnThrottleMessage), - kFlashWMUSERMessageThrottleDelayMs); + base::TimeDelta::FromMilliseconds(kFlashWMUSERMessageThrottleDelayMs)); } } @@ -1205,7 +1205,7 @@ LRESULT CALLBACK WebPluginDelegateImpl::NativeWndProc( FROM_HERE, base::Bind(&WebPluginDelegateImpl::OnUserGestureEnd, delegate->user_gesture_msg_factory_.GetWeakPtr()), - kWindowedPluginPopupTimerMs); + base::TimeDelta::FromMilliseconds(kWindowedPluginPopupTimerMs)); } HandleCaptureForMessage(hwnd, message); |