| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| index 468ccc3017aade902d0d3643e4f84b8f2a66fd45..7ad62e9e70c3c718c76842a029d6ad7fd48ce638 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -2835,19 +2835,19 @@ LayoutBlockFlow::LayoutBlockFlowRareData& LayoutBlockFlow::ensureRareData()
|
| void LayoutBlockFlow::positionDialog()
|
| {
|
| HTMLDialogElement* dialog = toHTMLDialogElement(node());
|
| - if (dialog->centeringMode() == HTMLDialogElement::NotCentered)
|
| + if (dialog->getCenteringMode() == HTMLDialogElement::NotCentered)
|
| return;
|
|
|
| bool canCenterDialog = (style()->position() == AbsolutePosition || style()->position() == FixedPosition)
|
| && style()->hasAutoTopAndBottom();
|
|
|
| - if (dialog->centeringMode() == HTMLDialogElement::Centered) {
|
| + if (dialog->getCenteringMode() == HTMLDialogElement::Centered) {
|
| if (canCenterDialog)
|
| setY(dialog->centeredPosition());
|
| return;
|
| }
|
|
|
| - ASSERT(dialog->centeringMode() == HTMLDialogElement::NeedsCentering);
|
| + ASSERT(dialog->getCenteringMode() == HTMLDialogElement::NeedsCentering);
|
| if (!canCenterDialog) {
|
| dialog->setNotCentered();
|
| return;
|
|
|