| Index: Source/core/editing/EditingStyle.cpp
|
| diff --git a/Source/core/editing/EditingStyle.cpp b/Source/core/editing/EditingStyle.cpp
|
| index ee1c1377074f0a23f16914cba49b37503f7f6701..053be543ff09367a2ec05f1721bdd8da099aa9ba 100644
|
| --- a/Source/core/editing/EditingStyle.cpp
|
| +++ b/Source/core/editing/EditingStyle.cpp
|
| @@ -1234,14 +1234,14 @@ void EditingStyle::removePropertiesInElementDefaultStyle(Element* element)
|
| void EditingStyle::addAbsolutePositioningFromElement(const Element& element)
|
| {
|
| LayoutRect rect = element.boundingBox();
|
| - LayoutObject* renderer = element.layoutObject();
|
| + LayoutObject* layoutObject = element.layoutObject();
|
|
|
| LayoutUnit x = rect.x();
|
| LayoutUnit y = rect.y();
|
| LayoutUnit width = rect.width();
|
| LayoutUnit height = rect.height();
|
| - if (renderer && renderer->isBox()) {
|
| - LayoutBox* layoutBox = toLayoutBox(renderer);
|
| + if (layoutObject && layoutObject->isBox()) {
|
| + LayoutBox* layoutBox = toLayoutBox(layoutObject);
|
|
|
| x -= layoutBox->marginLeft();
|
| y -= layoutBox->marginTop();
|
|
|