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

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

Issue 2374863002: Remove usage of HostZoomMap from c/b/loader via ReadyToCommitNavigation (Closed)
Patch Set: init Created 4 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 | « content/browser/BUILD.gn ('k') | content/browser/host_zoom_map_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigation_handle_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_handle_impl_unittest.cc b/content/browser/frame_host/navigation_handle_impl_unittest.cc
index 4ab1f177e77bfe12c1dd80773927d55dd5c88104..fc78314c663dea77f9b6eafc7041ccf649173033 100644
--- a/content/browser/frame_host/navigation_handle_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_handle_impl_unittest.cc
@@ -8,6 +8,7 @@
#include "content/public/browser/ssl_status.h"
#include "content/public/common/request_context_type.h"
#include "content/test/test_render_frame_host.h"
+#include "content/test/test_web_contents.h"
namespace content {
@@ -71,6 +72,7 @@ class NavigationHandleImplTest : public RenderViewHostImplTestHarness {
base::TimeTicks::Now(), 0, false);
EXPECT_EQ(REQUEST_CONTEXT_TYPE_UNSPECIFIED,
test_handle_->request_context_type_);
+ contents()->GetMainFrame()->InitializeRenderFrameIfNeeded();
}
void TearDown() override {
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/host_zoom_map_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698