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

Unified Diff: chrome/renderer/chrome_render_view_observer.cc

Issue 689163002: Clean up the page state saving mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixeds Created 6 years, 2 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
« no previous file with comments | « no previous file | content/public/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_view_observer.cc
diff --git a/chrome/renderer/chrome_render_view_observer.cc b/chrome/renderer/chrome_render_view_observer.cc
index a2e1b9aecc961cc413ebc94187a186cdd02103b8..bd60d963826e9af9a9396b0c3142357db55bbd41 100644
--- a/chrome/renderer/chrome_render_view_observer.cc
+++ b/chrome/renderer/chrome_render_view_observer.cc
@@ -348,7 +348,7 @@ void ChromeRenderViewObserver::DidStopLoading() {
CapturePageInfoLater(
false, // preliminary_capture
base::TimeDelta::FromMilliseconds(
- render_view()->GetContentStateImmediately() ?
+ render_view()->IsPageStateSentImmediately() ?
0 : kDelayForCaptureMs));
}
« no previous file with comments | « no previous file | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698