| Index: third_party/WebKit/Source/core/html/ImageDocument.h
|
| diff --git a/third_party/WebKit/Source/core/html/ImageDocument.h b/third_party/WebKit/Source/core/html/ImageDocument.h
|
| index c391bdc8a1588805e078d17dcf770a56be42d64e..8a1575ecffcfa9b5d09473e39c86bfdafd72e012 100644
|
| --- a/third_party/WebKit/Source/core/html/ImageDocument.h
|
| +++ b/third_party/WebKit/Source/core/html/ImageDocument.h
|
| @@ -53,6 +53,7 @@ class CORE_EXPORT ImageDocument final : public HTMLDocument {
|
| void imageClicked(int x, int y);
|
| void imageLoaded();
|
| void updateImageStyle();
|
| + bool shouldShrinkToFit() const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -70,7 +71,6 @@ class CORE_EXPORT ImageDocument final : public HTMLDocument {
|
| void resizeImageToFit();
|
| void restoreImageSize();
|
| bool imageFitsInWindow() const;
|
| - bool shouldShrinkToFit() const;
|
| // Calculates the image size multiplier that's needed to fit the image to
|
| // the window, taking into account page zoom and device scale.
|
| float scale() const;
|
|
|