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

Unified Diff: content/test/test_render_view_host.cc

Issue 1804023002: Fix page zoom to be frame-centric for out-of-process frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert to use PageMsg instead of FrameMsg. Created 4 years, 8 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/test/test_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index ab0c3d3d4180ed9b7124b3e6d5a2db76b7adbe7b..2797b7514a02a83253499c44671e6447b3c26a6e 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -234,7 +234,8 @@ bool TestRenderViewHost::CreateTestRenderView(
FrameReplicationState replicated_state;
replicated_state.name = base::UTF16ToUTF8(frame_name);
return CreateRenderView(opener_frame_route_id, proxy_route_id, max_page_id,
- replicated_state, window_was_created_with_opener);
+ replicated_state, window_was_created_with_opener,
+ 0.0);
}
bool TestRenderViewHost::CreateRenderView(
@@ -242,7 +243,7 @@ bool TestRenderViewHost::CreateRenderView(
int proxy_route_id,
int32_t max_page_id,
const FrameReplicationState& replicated_frame_state,
- bool window_was_created_with_opener) {
+ bool window_was_created_with_opener, double zoom_level) {
DCHECK(!IsRenderViewLive());
GetWidget()->set_renderer_initialized(true);
DCHECK(IsRenderViewLive());

Powered by Google App Engine
This is Rietveld 408576698