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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineTextBox.h

Issue 2518363003: Refactor InlineBox::calculateBoundaries() (Closed)
Patch Set: Created 4 years, 1 month 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/line/InlineTextBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.h b/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
index 66adff4fc6ea3d67301d7c892fbc913b03e54831..8c0650a7a8618ae6135e7374484fc56d200825c4 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
@@ -127,7 +127,7 @@ class CORE_EXPORT InlineTextBox : public InlineBox {
public:
TextRun constructTextRunForInspector(const ComputedStyle&) const;
- LayoutRect calculateBoundaries() const override {
+ LayoutRect frameRect() const {
pdr. 2016/11/23 03:38:12 This name looks correct (e.g., it is similar to th
Xianzhu 2016/11/23 04:06:37 Yes. It's in the "physical coordinates (flipped if
return LayoutRect(x(), y(), width(), height());
}

Powered by Google App Engine
This is Rietveld 408576698