| Index: third_party/WebKit/WebCore/rendering/RenderBox.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/rendering/RenderBox.cpp (revision 11154)
|
| +++ third_party/WebKit/WebCore/rendering/RenderBox.cpp (working copy)
|
| @@ -2354,7 +2354,7 @@
|
| } else {
|
| RenderObject* po = parent();
|
| // 'staticX' should already have been set through layout of the parent.
|
| - int staticPosition = layer()->staticX() + containerWidth + toRenderBoxModelObject(containerBlock)->borderRight();
|
| + int staticPosition = layer()->staticX() + containerWidth + containerBlock->borderRight();
|
| for ( ; po && po != containerBlock; po = po->parent()) {
|
| if (po->isBox())
|
| staticPosition += toRenderBox(po)->x();
|
|
|