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

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: 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') | content/public/renderer/render_view.h » ('J')
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..7bc79e7799a507541d82c2afd45c07ebe4d575a1 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()->GetPageStateSentImmediately() ?
0 : kDelayForCaptureMs));
}
« no previous file with comments | « no previous file | content/public/renderer/render_view.h » ('j') | content/public/renderer/render_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698