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

Unified Diff: Source/web/mac/WebSubstringUtil.mm

Issue 413903004: Oilpan: Change Persistent<> data members to Member<> in HitTestResult. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
Index: Source/web/mac/WebSubstringUtil.mm
diff --git a/Source/web/mac/WebSubstringUtil.mm b/Source/web/mac/WebSubstringUtil.mm
index ade8fb13c58c6b0b68ad6c83d583049025b61f0b..654ac7675d89bea3a81fc347964930ad090b09c8 100644
--- a/Source/web/mac/WebSubstringUtil.mm
+++ b/Source/web/mac/WebSubstringUtil.mm
@@ -55,6 +55,7 @@
#include "public/web/WebRange.h"
#include "public/web/WebView.h"
#include "web/WebLocalFrameImpl.h"
+#include "web/WebViewImpl.h"
using namespace blink;
@@ -112,7 +113,7 @@ namespace blink {
NSAttributedString* WebSubstringUtil::attributedWordAtPoint(WebView* view, WebPoint point, WebPoint& baselinePoint)
{
- HitTestResult result = view->hitTestResultAt(point);
+ HitTestResult result = static_cast<WebViewImpl*>(view)->coreHitTestResultAt(point);
if (!result.targetNode())
return nil;
LocalFrame* frame = result.targetNode()->document().frame();

Powered by Google App Engine
This is Rietveld 408576698