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

Unified Diff: content/renderer/render_view_impl.cc

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use LoFiDefault in RequestNavigationParams constructor Created 5 years, 3 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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index d0ea96eb6b7330768616a2fdf1ba8f0dd0294968..6149aa3aee7e5a032c587fc559da96a729ff9203 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -45,6 +45,7 @@
#include "content/common/frame_replication_state.h"
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "content/common/input_messages.h"
+#include "content/common/navigation_params.h"
#include "content/common/pepper_messages.h"
#include "content/common/site_isolation_policy.h"
#include "content/common/ssl_status_serialization.h"
@@ -714,7 +715,7 @@ void RenderViewImpl::Initialize(const ViewMsg_New_Params& params,
}
if (main_render_frame_)
- main_render_frame_->Initialize();
+ main_render_frame_->Initialize(LOFI_DEFAULT);
nasko 2015/09/17 23:09:00 Inline this as RF default value.
megjablon 2015/09/18 23:22:11 Done.
#if defined(OS_ANDROID)
content_detectors_.push_back(linked_ptr<ContentDetector>(

Powered by Google App Engine
This is Rietveld 408576698