Changeset 268817 in webkit
- Timestamp:
- Oct 21, 2020, 12:29:59 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
layout/integration/LayoutIntegrationRunIteratorModernPath.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r268816 r268817 1 2020-10-21 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][Integration] Remove redundant vertical position snapping in the iterator interface 4 https://bugs.webkit.org/show_bug.cgi?id=218039 5 6 Reviewed by Antti Koivisto. 7 8 Snapping is done during display content construction. 9 10 * layout/integration/LayoutIntegrationRunIteratorModernPath.h: 11 (WebCore::LayoutIntegration::RunIteratorModernPath::rect const): 12 (WebCore::LayoutIntegration::verticallyRoundedRect): Deleted. 13 1 14 2020-10-21 Peng Liu <peng.liu6@apple.com> 2 15 -
trunk/Source/WebCore/layout/integration/LayoutIntegrationRunIteratorModernPath.h
r268798 r268817 35 35 namespace LayoutIntegration { 36 36 37 inline FloatRect verticallyRoundedRect(const FloatRect& rect)38 {39 return { FloatPoint(rect.x(), roundf(rect.y())), rect.size() };40 }41 42 37 class RunIteratorModernPath { 43 38 public: … … 55 50 bool isText() const { return !!run().textContent(); } 56 51 57 FloatRect rect() const { return verticallyRoundedRect(run().rect()); }52 FloatRect rect() const { return run().rect(); } 58 53 59 54 bool isHorizontal() const { return true; }
Note:
See TracChangeset
for help on using the changeset viewer.