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

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

Issue 2122023002: Cross-process frames should be notified of device scale factor changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix RenderWidgetHostTest.ResizeScreenInfo. Created 4 years, 5 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 ef41dee6c9f6947a101870fb5d12144a00a4788e..e9008d6f8e154ebbc4c7fad96d66f109d560e0de 100644
--- a/content/browser/frame_host/cross_process_frame_connector.cc
+++ b/content/browser/frame_host/cross_process_frame_connector.cc
@@ -121,13 +121,6 @@ gfx::Rect CrossProcessFrameConnector::ChildFrameRect() {
return child_frame_rect_;
}
-void CrossProcessFrameConnector::GetScreenInfo(blink::WebScreenInfo* results) {
- auto* parent_view = GetParentRenderWidgetHostView();
- if (parent_view) {
- parent_view->GetScreenInfo(results);
- }
-}
-
void CrossProcessFrameConnector::UpdateCursor(const WebCursor& cursor) {
RenderWidgetHostViewBase* root_view = GetRootRenderWidgetHostView();
if (root_view)

Powered by Google App Engine
This is Rietveld 408576698