| Index: Source/web/FindInPageCoordinates.cpp
|
| diff --git a/Source/web/FindInPageCoordinates.cpp b/Source/web/FindInPageCoordinates.cpp
|
| index ab732719248f5bc95ac21036edb623447947faa0..7b26197d2bcb27cbbb7f8964a76489b2fc3d33b9 100644
|
| --- a/Source/web/FindInPageCoordinates.cpp
|
| +++ b/Source/web/FindInPageCoordinates.cpp
|
| @@ -34,11 +34,11 @@
|
| #include "core/dom/Node.h"
|
| #include "core/dom/Range.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/layout/LayoutBox.h"
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/layout/LayoutPart.h"
|
| #include "core/layout/style/LayoutStyle.h"
|
| #include "core/rendering/RenderBlock.h"
|
| -#include "core/rendering/RenderBox.h"
|
| #include "core/rendering/RenderView.h"
|
| #include "platform/geometry/FloatPoint.h"
|
| #include "platform/geometry/FloatQuad.h"
|
| @@ -103,7 +103,7 @@ FloatRect findInPageRectFromAbsoluteRect(const FloatRect& inputRect, const Layou
|
| FloatRect normalizedRect = toNormalizedRect(inputRect, baseRenderer, baseContainer);
|
|
|
| // Go up across frames.
|
| - for (const RenderBox* renderer = baseContainer; renderer; ) {
|
| + for (const LayoutBox* renderer = baseContainer; renderer; ) {
|
|
|
| // Go up the render tree until we reach the root of the current frame (the RenderView).
|
| while (!renderer->isRenderView()) {
|
|
|