| 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 c47b53a7cf6522716397a2d0ab11eb1c197ebdf6..fc3dfd7b6815e65bb4683648c297ddb884a3b006 100644
|
| --- a/third_party/WebKit/Source/core/html/ImageDocument.h
|
| +++ b/third_party/WebKit/Source/core/html/ImageDocument.h
|
| @@ -49,6 +49,7 @@ class CORE_EXPORT ImageDocument final : public HTMLDocument {
|
| void imageClicked(int x, int y);
|
| void imageLoaded();
|
| void updateImageStyle();
|
| + bool shouldShrinkToFit() const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -66,7 +67,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;
|
|
|