Index: Source/WebCore/rendering/RenderObject.cpp |
diff --git a/Source/WebCore/rendering/RenderObject.cpp b/Source/WebCore/rendering/RenderObject.cpp |
index aa234c40963de335abd1a52b2cb9aea5ecc2d016..8d88b3fe433a73a73161fd3ab9bc8d43606f8834 100644 |
--- a/Source/WebCore/rendering/RenderObject.cpp |
+++ b/Source/WebCore/rendering/RenderObject.cpp |
@@ -2294,7 +2294,7 @@ RespectImageOrientationEnum RenderObject::shouldRespectImageOrientation() const |
// Respect the image's orientation if it's being used as a full-page image or it's |
// an <img> and the setting to respect it everywhere is set. |
return |
-#if USE(CG) || PLATFORM(CHROMIUM) || USE(CAIRO) || PLATFORM(BLACKBERRY) |
+#if USE(CG) || PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY) |
// This can only be enabled for ports which honor the orientation flag in their drawing code. |
document()->isImageDocument() || |
#endif |