Move RenderObject::shouldRespectImageOrientation to RenderElement.
[WebKit-https.git] / Source / WebCore / ChangeLog
index 6157f5b..c0f99c3 100644 (file)
@@ -1,3 +1,30 @@
+2016-09-15  Zalan Bujtas  <zalan@apple.com>
+
+        Move RenderObject::shouldRespectImageOrientation to RenderElement.
+        https://bugs.webkit.org/show_bug.cgi?id=162028
+
+        Reviewed by Antti Koivisto.
+
+        Tighten the type for imageSizeForRenderer/canRender so that RenderObject::shouldRespectImageOrientation could
+        be moved to RenderElement.
+
+        No change in functionality.
+
+        * loader/cache/CachedImage.cpp:
+        (WebCore::CachedImage::imageSizeForRenderer):
+        * loader/cache/CachedImage.h:
+        * rendering/RenderElement.cpp:
+        (WebCore::RenderElement::shouldRespectImageOrientation):
+        * rendering/RenderElement.h:
+        * rendering/RenderObject.cpp:
+        (WebCore::RenderObject::shouldRespectImageOrientation): Deleted.
+        * rendering/RenderObject.h:
+        * rendering/style/StyleCachedImage.cpp:
+        (WebCore::StyleCachedImage::canRender):
+        * rendering/style/StyleCachedImage.h:
+        * rendering/style/StyleImage.h:
+        (WebCore::StyleImage::canRender):
+
 2016-09-15  Anders Carlsson  <andersca@apple.com>
 
         Fix build.