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

Unified Diff: content/renderer/render_view_impl.cc

Issue 11227065: fix Request Tablet Site does not render (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 44068a1014b2084872e11b14f6a1968c6d008df7..8c5023f806cd73411ad1dc97b76bd0819d5cc373 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3355,7 +3355,9 @@ void RenderViewImpl::didCommitProvisionalLoad(WebFrame* frame,
document_state->set_commit_load_time(Time::Now());
if (document_state->must_reset_scroll_and_scale_state()) {
+#if defined(OS_ANDROID) // crbug.com/153907
webview()->resetScrollAndScaleState();
+#endif
document_state->set_must_reset_scroll_and_scale_state(false);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698