| Index: Source/core/html/canvas/HitRegion.cpp
|
| diff --git a/Source/core/html/canvas/HitRegion.cpp b/Source/core/html/canvas/HitRegion.cpp
|
| index 476f8b26624f1b745d08666e42fce500574fa849..c1e2aa96aa9afd610d87025cd78ded94e761696e 100644
|
| --- a/Source/core/html/canvas/HitRegion.cpp
|
| +++ b/Source/core/html/canvas/HitRegion.cpp
|
| @@ -6,7 +6,7 @@
|
| #include "core/html/canvas/HitRegion.h"
|
|
|
| #include "core/dom/AXObjectCache.h"
|
| -#include "core/rendering/RenderBoxModelObject.h"
|
| +#include "core/layout/LayoutBoxModelObject.h"
|
|
|
| namespace blink {
|
|
|
| @@ -33,7 +33,7 @@ void HitRegion::updateAccessibility(Element* canvas)
|
| FloatRect boundingRect = m_path.boundingRect();
|
|
|
| // Offset by the canvas rect, taking border and padding into account.
|
| - RenderBoxModelObject* rbmo = canvas->renderBoxModelObject();
|
| + LayoutBoxModelObject* rbmo = canvas->layoutBoxModelObject();
|
| IntRect canvasRect = canvas->renderer()->absoluteBoundingBoxRect();
|
| canvasRect.move(rbmo->borderLeft() + rbmo->paddingLeft(),
|
| rbmo->borderTop() + rbmo->paddingTop());
|
|
|