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

Unified Diff: ui/compositor/layer.cc

Issue 867483003: Revert of compositor: Fix texture flipping for SW mirroring with surfaceless (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « ui/compositor/layer.h ('k') | ui/compositor/reflector.h » ('j') | 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 537e4550764562e8ab276f60fc86c20cec9fc61b..947cf6241dbf4adb4fe0e3ea67d2c15a60f9bd02 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -557,16 +557,6 @@
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);
« no previous file with comments | « ui/compositor/layer.h ('k') | ui/compositor/reflector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698