| 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..c57165329d388e73a2d3c03a86aba28d68eda6f0 100644
|
| --- a/third_party/WebKit/Source/core/html/ImageDocument.h
|
| +++ b/third_party/WebKit/Source/core/html/ImageDocument.h
|
| @@ -63,6 +63,9 @@ class CORE_EXPORT ImageDocument final : public HTMLDocument {
|
|
|
| void createDocumentStructure();
|
|
|
| + // Determines whether the image should be centered in the layout.
|
| + bool shouldCenterImage() const;
|
| +
|
| // Calculates how large the div needs to be to properly center the image.
|
| int calculateDivWidth();
|
|
|
|
|