Index: chrome/renderer/chrome_render_view_observer.cc |
=================================================================== |
--- chrome/renderer/chrome_render_view_observer.cc (revision 117824) |
+++ chrome/renderer/chrome_render_view_observer.cc (working copy) |
@@ -665,9 +665,7 @@ |
FROM_HERE, |
base::Bind(&ChromeRenderViewObserver::CapturePageInfo, |
weak_factory_.GetWeakPtr(), render_view()->GetPageId(), false), |
- base::TimeDelta::FromMilliseconds( |
- render_view()->GetContentStateImmediately() ? |
- 0 : kDelayForCaptureMs)); |
+ render_view()->GetContentStateImmediately() ? 0 : kDelayForCaptureMs); |
WebFrame* main_frame = render_view()->GetWebView()->mainFrame(); |
GURL osd_url = main_frame->document().openSearchDescriptionURL(); |
@@ -723,7 +721,7 @@ |
FROM_HERE, |
base::Bind(&ChromeRenderViewObserver::CapturePageInfo, |
weak_factory_.GetWeakPtr(), render_view()->GetPageId(), true), |
- base::TimeDelta::FromMilliseconds(kDelayForForcedCaptureMs)); |
+ kDelayForForcedCaptureMs); |
} |
void ChromeRenderViewObserver::DidClearWindowObject(WebFrame* frame) { |