Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
index 51f5ea7f10755219ba9d5bc6480091e45ac5eff7..2e8a9f0196f5840b20e012c38677ba7b2b0a07a3 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
@@ -36,6 +36,7 @@ |
#include "platform/graphics/ContentLayerDelegate.h" |
#include "platform/graphics/GraphicsLayerClient.h" |
#include "platform/graphics/GraphicsLayerDebugInfo.h" |
+#include "platform/graphics/ImageOrientation.h" |
#include "platform/graphics/PaintInvalidationReason.h" |
#include "platform/graphics/filters/FilterOperations.h" |
#include "platform/graphics/paint/DisplayItemClient.h" |
@@ -207,7 +208,7 @@ public: |
void removeAnimation(int animationId); |
// Layer contents |
- void setContentsToImage(Image*); |
+ void setContentsToImage(Image*, RespectImageOrientationEnum = DoNotRespectImageOrientation); |
void setContentsToPlatformLayer(WebLayer* layer) { setContentsTo(layer); } |
bool hasContentsLayer() const { return m_contentsLayer; } |