Index: ui/compositor/layer.cc |
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc |
index a03d6ff5bb2d3d0802766414b6999194f78dcc5f..c5de6324790138a5cf1b428ab64b8fab9debf1fb 100644 |
--- a/ui/compositor/layer.cc |
+++ b/ui/compositor/layer.cc |
@@ -557,6 +557,16 @@ |
texture_layer_->SetNeedsDisplay(); |
} |
+void Layer::SetTextureFlipped(bool flipped) { |
+ DCHECK(texture_layer_.get()); |
+ texture_layer_->SetFlipped(flipped); |
+} |
+ |
+bool Layer::TextureFlipped() const { |
+ DCHECK(texture_layer_.get()); |
+ return texture_layer_->flipped(); |
+} |
+ |
void Layer::SetShowDelegatedContent(cc::DelegatedFrameProvider* frame_provider, |
gfx::Size frame_size_in_dip) { |
DCHECK(type_ == LAYER_TEXTURED || type_ == LAYER_SOLID_COLOR); |