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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextFragment.h

Issue 2963093002: Add full offset mapping construction in a block (Closed)
Patch Set: Fix first letter handling Created 3 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: third_party/WebKit/Source/core/layout/LayoutTextFragment.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
index 7d37ef99e187dae92a748b28ac16103466a4d8fb..e62ac8f2533d595b63f3546ac6ead4245db55e50 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
@@ -92,6 +92,8 @@ class LayoutTextFragment final : public LayoutText {
return is_remaining_text_layout_object_;
}
+ Text* AssociatedTextNode() const;
+
protected:
void WillBeDestroyed() override;
@@ -99,7 +101,6 @@ class LayoutTextFragment final : public LayoutText {
LayoutBlock* BlockForAccompanyingFirstLetter() const;
UChar PreviousCharacter() const override;
- Text* AssociatedTextNode() const;
void UpdateHitTestResult(HitTestResult&, const LayoutPoint&) override;
unsigned start_;

Powered by Google App Engine
This is Rietveld 408576698