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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 1126793002: cc: Make tiling interest rect calc based on viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove switch entry from chromeos cmdline. Created 5 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
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index df8674a24e1730b1cb2f621e17988549de0b1767..f7dc58fc138ac5faabf380e5ede4b7bbee197be0 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -349,15 +349,6 @@ void RenderWidgetCompositor::Initialize() {
&settings.initial_debug_state.slow_down_raster_scale_factor);
}
- if (cmd->HasSwitch(cc::switches::kMaxTilesForInterestArea)) {
- int max_tiles_for_interest_area;
- if (GetSwitchValueAsInt(*cmd,
- cc::switches::kMaxTilesForInterestArea,
- 1, std::numeric_limits<int>::max(),
- &max_tiles_for_interest_area))
- settings.max_tiles_for_interest_area = max_tiles_for_interest_area;
- }
-
if (cmd->HasSwitch(cc::switches::kMaxUnusedResourceMemoryUsagePercentage)) {
int max_unused_resource_memory_percentage;
if (GetSwitchValueAsInt(
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698