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

Unified Diff: cc/layers/heads_up_display_layer_impl.cc

Issue 2282433002: Revert of cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: Created 4 years, 4 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 | « cc/layers/heads_up_display_layer.cc ('k') | cc/layers/painted_scrollbar_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/heads_up_display_layer_impl.cc
diff --git a/cc/layers/heads_up_display_layer_impl.cc b/cc/layers/heads_up_display_layer_impl.cc
index 052d3c9ace93879d512f5702c6258b29e539a555..66532226877a326b2c74eec7cc5c1cabc47a2063 100644
--- a/cc/layers/heads_up_display_layer_impl.cc
+++ b/cc/layers/heads_up_display_layer_impl.cc
@@ -119,9 +119,6 @@
internal_contents_scale_ = GetIdealContentsScale();
internal_content_bounds_ =
gfx::ScaleToCeiledSize(bounds(), internal_contents_scale_);
- internal_content_bounds_.SetToMin(
- gfx::Size(resource_provider->max_texture_size(),
- resource_provider->max_texture_size()));
ReleaseUnmatchedSizeResources(resource_provider);
AcquireResource(resource_provider);
« no previous file with comments | « cc/layers/heads_up_display_layer.cc ('k') | cc/layers/painted_scrollbar_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698