Index: ui/compositor/layer.cc |
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc |
index 947cf6241dbf4adb4fe0e3ea67d2c15a60f9bd02..90930a8b981dbf36b1490e1460186859825b0ad3 100644 |
--- a/ui/compositor/layer.cc |
+++ b/ui/compositor/layer.cc |
@@ -557,6 +557,11 @@ 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); |
+} |
+ |
void Layer::SetShowDelegatedContent(cc::DelegatedFrameProvider* frame_provider, |
gfx::Size frame_size_in_dip) { |
DCHECK(type_ == LAYER_TEXTURED || type_ == LAYER_SOLID_COLOR); |