Index: ui/compositor/layer.cc |
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc |
index 947cf6241dbf4adb4fe0e3ea67d2c15a60f9bd02..537e4550764562e8ab276f60fc86c20cec9fc61b 100644 |
--- a/ui/compositor/layer.cc |
+++ b/ui/compositor/layer.cc |
@@ -557,6 +557,16 @@ void Layer::SetTextureSize(gfx::Size texture_size_in_dip) { |
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); |