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

Unified Diff: ui/compositor/layer.cc

Issue 311253004: Invert DSF to map from delegated frame to layer space (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scale android layer up, remove cc::DRL::SetDisplaySize Created 6 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
« cc/output/delegated_frame_data.h ('K') | « content/common/cc_messages.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 17ab8993305a0c0c5b0c49879f7185ba785ce29d..8d9cb64ad1e167958b4eea316d1149b84f73315d 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -953,7 +953,6 @@ void Layer::RecomputeDrawsContentAndUVRect() {
texture_layer_->SetUV(uv_top_left, uv_bottom_right);
} else if (delegated_renderer_layer_.get()) {
size.SetToMin(frame_size_in_dip_);
- delegated_renderer_layer_->SetDisplaySize(frame_size_in_dip_);
}
cc_layer_->SetBounds(size);
}
« cc/output/delegated_frame_data.h ('K') | « content/common/cc_messages.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698