Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(872)

Unified Diff: Source/core/html/canvas/HitRegion.cpp

Issue 944923004: rendering/RenderBoxModelObject -> layout/LayoutBoxModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/html/canvas/WebGLRenderingContextBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/html/canvas/WebGLRenderingContextBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698