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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 1175113010: cc: Rename visible_content_rect and content stuff on quads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename-visible-content-rect: moreandroid Created 5 years, 6 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/trees/draw_property_utils.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 4c900dcc7eaba0033d48151a576e12cb4a59cf91..bb470f34bf91e9ebab36b184978ca7dc83c22b50 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -819,7 +819,7 @@ bool LayerTreeHost::UpdateLayers(Layer* root_layer,
bool did_paint_content = false;
for (const auto& layer : update_layer_list) {
// TODO(enne): temporarily clobber draw properties visible rect.
- layer->draw_properties().visible_content_rect =
+ layer->draw_properties().visible_layer_rect =
layer->visible_rect_from_property_trees();
did_paint_content |= layer->Update(queue);
content_is_suitable_for_gpu_rasterization_ &=
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698