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

Unified Diff: webkit/plugins/npapi/webplugin_delegate_impl_win.cc

Issue 10019015: Update uses of TimeDelta in chrome_frame/*. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 8 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/npapi/webplugin_delegate_impl_win.cc
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
index f308202cb956420d3e1fe15949e6cbd7309317ab..9a71bbee86f736ab090c95cf25b7628e19d3472c 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
@@ -800,7 +800,7 @@ void WebPluginDelegateImpl::OnThrottleMessage() {
if (!throttle_queue_was_empty) {
MessageLoop::current()->PostDelayedTask(
FROM_HERE, base::Bind(&WebPluginDelegateImpl::OnThrottleMessage),
- kFlashWMUSERMessageThrottleDelayMs);
+ base::TimeDelta::FromMilliseconds(kFlashWMUSERMessageThrottleDelayMs));
}
}
@@ -823,7 +823,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));
}
}
@@ -1184,7 +1184,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);
« chrome_frame/test/chrome_frame_test_utils.h ('K') | « chrome_frame/test/test_with_web_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698