Changeset 41018 in webkit
- Timestamp:
- Feb 15, 2009 1:39:47 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r41017 r41018 1 2009-02-15 David Kilzer <ddkilzer@apple.com> 2 3 Move duplicate caretWidth constants to RenderObject.h 4 5 Reviewed by Dan Bernstein. 6 7 No test since no change in behavior. 8 9 * rendering/RenderBlock.cpp: 10 (WebCore::RenderBlock::localCaretRect): Removed caretWidth. 11 * rendering/RenderBox.cpp: 12 (WebCore::RenderBox::localCaretRect): Ditto. 13 * rendering/RenderObject.h: Added caretWidth definition. 14 * rendering/RenderText.cpp: 15 (WebCore::RenderText::localCaretRect): Removed caretWidth. 16 1 17 2009-02-13 Dimitri Glazkov <dglazkov@chromium.org> 2 18 -
trunk/WebCore/rendering/RenderBlock.cpp
r40980 r41018 4884 4884 RenderStyle* currentStyle = firstLineStyle(); 4885 4885 int height = lineHeight(true); 4886 const int caretWidth = 1;4887 4886 4888 4887 enum CaretAlignment { alignLeft, alignRight, alignCenter }; -
trunk/WebCore/rendering/RenderBox.cpp
r40964 r41018 2592 2592 2593 2593 // FIXME: What about border and padding? 2594 const int caretWidth = 1;2595 2594 IntRect rect(x(), y(), caretWidth, height()); 2596 2595 TextDirection direction = box ? box->direction() : style()->direction(); -
trunk/WebCore/rendering/RenderObject.h
r40989 r41018 97 97 BSRight 98 98 }; 99 100 const int caretWidth = 1; 99 101 100 102 #if ENABLE(DASHBOARD_SUPPORT) -
trunk/WebCore/rendering/RenderText.cpp
r40880 r41018 401 401 } 402 402 403 const int caretWidth = 1;404 403 return IntRect(left, top, caretWidth, height); 405 404 }
Note: See TracChangeset
for help on using the changeset viewer.