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

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

Issue 2697193011: DO NOT LAND: Test no paint invalidation for LayoutText. (Closed)
Patch Set: Created 3 years, 10 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/LayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
index 085011f7bd0bf0df9f9e2f8bce4b292efba47f62..0803da3979e7d95e522535355c815ce1996808ab 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -81,6 +81,8 @@ class CORE_EXPORT LayoutText : public LayoutObject {
virtual bool isTextFragment() const;
virtual bool isWordBreak() const;
+ LayoutRect visualRect() const override { return parent()->visualRect(); }
+
virtual PassRefPtr<StringImpl> originalText() const;
void extractTextBox(InlineTextBox*);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/paint/PaintInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698