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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp

Issue 1361413004: Fix directly composited image path for CSS image-orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: third_party/WebKit/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
index 43bb1eabad9834fa3c9196ac1a30caa1d2997265..9b85d40e96bf03ca4348082eeaea08e5077b2f2c 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
@@ -1863,10 +1863,7 @@ bool CompositedDeprecatedPaintLayerMapping::isDirectlyCompositedImage() const
if (!image->isBitmapImage())
return false;
- // FIXME: We should be able to handle bitmap images using direct compositing
- // no matter what image-orientation value. See crbug.com/502267
- if (imageLayoutObject->style()->respectImageOrientation() != RespectImageOrientation)
- return true;
+ return true;
Noel Gordon 2015/09/25 00:12:19 Very cool, and I can see why layout tests are pass
}
return false;

Powered by Google App Engine
This is Rietveld 408576698