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

Unified Diff: content/browser/frame_host/cross_process_frame_connector.cc

Issue 2910023002: Ensure RemoteViewportIntersection rect persists across frame navigations (Closed)
Patch Set: dcheng comments addressed Created 3 years, 7 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/browser/frame_host/cross_process_frame_connector.cc
diff --git a/content/browser/frame_host/cross_process_frame_connector.cc b/content/browser/frame_host/cross_process_frame_connector.cc
index 1ca49b4e402412afe8f5e5282ec3a5df73b00661..50d8b5895a34efdfb1cdf42ec68dfec96b175fdb 100644
--- a/content/browser/frame_host/cross_process_frame_connector.cc
+++ b/content/browser/frame_host/cross_process_frame_connector.cc
@@ -246,6 +246,7 @@ void CrossProcessFrameConnector::OnFrameRectChanged(
void CrossProcessFrameConnector::OnUpdateViewportIntersection(
const gfx::Rect& viewport_intersection) {
+ viewport_intersection_rect_ = viewport_intersection;
if (view_)
view_->UpdateViewportIntersection(viewport_intersection);
}

Powered by Google App Engine
This is Rietveld 408576698