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

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

Issue 2900593002: Move many more classes to use WebLocalFrameBase over WebLocalFrameImpl. (Closed)
Patch Set: Rebase Created 3 years, 7 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: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
diff --git a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
index 85533521b771d00a056fb9e4c168a478d3395402..1c5cfeca7fe39ce801b85599934d93f31d09c402 100644
--- a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
+++ b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
@@ -45,6 +45,7 @@
#include "core/frame/LocalFrameView.h"
#include "core/frame/VisualViewport.h"
#include "core/frame/WebFrameWidgetBase.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/html/HTMLElement.h"
#include "core/layout/HitTestResult.h"
#include "core/layout/LayoutObject.h"
@@ -57,7 +58,6 @@
#include "public/web/WebHitTestResult.h"
#include "public/web/WebLocalFrame.h"
#include "public/web/WebRange.h"
-#include "web/WebLocalFrameImpl.h"
using namespace blink;
@@ -198,7 +198,7 @@ NSAttributedString* WebSubstringUtil::AttributedSubstringInRange(
size_t location,
size_t length,
WebPoint* baseline_point) {
- LocalFrame* frame = ToWebLocalFrameImpl(web_frame)->GetFrame();
+ LocalFrame* frame = ToWebLocalFrameBase(web_frame)->GetFrame();
if (frame->View()->NeedsLayout())
frame->View()->UpdateLayout();
« no previous file with comments | « third_party/WebKit/Source/web/WebUserGestureIndicator.cpp ('k') | third_party/WebKit/Source/web/tests/ActivityLoggerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698