| Index: Source/web/TextFinder.cpp
|
| diff --git a/Source/web/TextFinder.cpp b/Source/web/TextFinder.cpp
|
| index c558798e9dc9862697ecd3c2d618ee199c186973..103c23dc6f4c2daac9414b575ac94352a9552179 100644
|
| --- a/Source/web/TextFinder.cpp
|
| +++ b/Source/web/TextFinder.cpp
|
| @@ -40,8 +40,8 @@
|
| #include "core/editing/VisibleSelection.h"
|
| #include "core/editing/iterators/TextIterator.h"
|
| #include "core/frame/FrameView.h"
|
| +#include "core/layout/LayoutObject.h"
|
| #include "core/page/Page.h"
|
| -#include "core/rendering/RenderObject.h"
|
| #include "modules/accessibility/AXObject.h"
|
| #include "modules/accessibility/AXObjectCacheImpl.h"
|
| #include "platform/Timer.h"
|
| @@ -156,7 +156,7 @@ bool TextFinder::find(int identifier, const WebString& searchText, const WebFind
|
| }
|
|
|
| #if OS(ANDROID)
|
| - ownerFrame().viewImpl()->zoomToFindInPageRect(ownerFrame().frameView()->contentsToWindow(enclosingIntRect(RenderObject::absoluteBoundingBoxRectForRange(m_activeMatch.get()))));
|
| + ownerFrame().viewImpl()->zoomToFindInPageRect(ownerFrame().frameView()->contentsToWindow(enclosingIntRect(LayoutObject::absoluteBoundingBoxRectForRange(m_activeMatch.get()))));
|
| #endif
|
|
|
| setMarkerActive(m_activeMatch.get(), true);
|
| @@ -621,7 +621,7 @@ int TextFinder::selectFindMatch(unsigned index, WebRect* selectionRect)
|
| }
|
|
|
| IntRect activeMatchRect;
|
| - IntRect activeMatchBoundingBox = enclosingIntRect(RenderObject::absoluteBoundingBoxRectForRange(m_activeMatch.get()));
|
| + IntRect activeMatchBoundingBox = enclosingIntRect(LayoutObject::absoluteBoundingBoxRectForRange(m_activeMatch.get()));
|
|
|
| if (!activeMatchBoundingBox.isEmpty()) {
|
| if (m_activeMatch->firstNode() && m_activeMatch->firstNode()->renderer()) {
|
|
|