Index: third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
index 07564b7b93796ee86a2353f94d7f2727dd8e992b..bab09b1cf7c5a4fd409f6fc7f555be655c01de80 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
@@ -99,14 +99,9 @@ LayoutSize StyleFetchedImageSet::imageSize(const LayoutObject* layoutObject, flo |
return scaledImageSize; |
} |
-bool StyleFetchedImageSet::imageHasRelativeWidth() const |
+bool StyleFetchedImageSet::imageHasRelativeSize() const |
{ |
- return m_bestFitImage->imageHasRelativeWidth(); |
-} |
- |
-bool StyleFetchedImageSet::imageHasRelativeHeight() const |
-{ |
- return m_bestFitImage->imageHasRelativeHeight(); |
+ return m_bestFitImage->imageHasRelativeSize(); |
} |
void StyleFetchedImageSet::computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) |