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

Unified Diff: content/public/renderer/document_state.cc

Issue 10889019: Reset scale & scroll state after reloading with overridden URL (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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: content/public/renderer/document_state.cc
diff --git a/content/public/renderer/document_state.cc b/content/public/renderer/document_state.cc
index 9e71d7b86f9a415a24f8c0f7eea9823a16e9da42..ea298d9ddb1844d18c85b793e81b06e5311f9834 100644
--- a/content/public/renderer/document_state.cc
+++ b/content/public/renderer/document_state.cc
@@ -20,6 +20,7 @@ DocumentState::DocumentState()
was_fetched_via_proxy_(false),
use_error_page_(false),
is_overriding_user_agent_(false),
+ must_reset_scroll_and_scale_state_(false),
was_prefetcher_(false),
was_referred_by_prefetcher_(false),
load_type_(UNDEFINED_LOAD),

Powered by Google App Engine
This is Rietveld 408576698