Changeset 45624 in webkit
- Timestamp:
- Jul 8, 2009 6:55:55 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r45620 r45624 1 2009-07-08 Shinichiro Hamaji <hamaji@chromium.org> 2 3 Reviewed by David Kilzer. 4 5 WebKit needs a style linting tool 6 https://bugs.webkit.org/show_bug.cgi?id=25884 7 8 Fix bunch of style issues in WebCore/rendering. 9 This patch is created to demonstrate cpplint.py. 10 11 No testcase because it's just a style fixes. 12 13 * rendering/AutoTableLayout.cpp: 14 (WebCore::AutoTableLayout::recalcColumn): 15 (WebCore::AutoTableLayout::layout): 16 * rendering/InlineFlowBox.cpp: 17 (WebCore::InlineFlowBox::placeEllipsisBox): 18 * rendering/InlineTextBox.cpp: 19 (WebCore::InlineTextBox::paintTextMatchMarker): 20 * rendering/MediaControlElements.cpp: 21 (WebCore::MediaControlTimelineElement::defaultEventHandler): 22 * rendering/MediaControlElements.h: 23 * rendering/RenderArena.cpp: 24 * rendering/RenderBlock.cpp: 25 (WebCore::RenderBlock::startDelayUpdateScrollInfo): 26 (WebCore::RenderBlock::finishDelayUpdateScrollInfo): 27 (WebCore::RenderBlock::updateScrollInfoAfterLayout): 28 (WebCore::RenderBlock::positionNewFloats): 29 (WebCore::RenderBlock::newLine): 30 (WebCore::RenderBlock::floatBottom): 31 (WebCore::RenderBlock::leftBottom): 32 (WebCore::RenderBlock::rightBottom): 33 * rendering/RenderBox.cpp: 34 (WebCore::RenderBox::calcReplacedWidthUsing): 35 * rendering/RenderFieldset.cpp: 36 (WebCore::RenderFieldset::layoutLegend): 37 * rendering/RenderFlexibleBox.cpp: 38 (WebCore::FlexBoxIterator::FlexBoxIterator): 39 (WebCore::FlexBoxIterator::reset): 40 (WebCore::FlexBoxIterator::first): 41 (WebCore::FlexBoxIterator::next): 42 (WebCore::RenderFlexibleBox::layoutVerticalBox): 43 * rendering/RenderFrameSet.cpp: 44 (WebCore::borderStartEdgeColor): 45 * rendering/RenderFrameSet.h: 46 * rendering/RenderImage.cpp: 47 * rendering/RenderLayer.cpp: 48 (WebCore::RenderLayer::updateVisibilityStatus): 49 (WebCore::RenderLayer::calculateClipRects): 50 (WebCore::RenderLayer::calculateRects): 51 * rendering/RenderListBox.cpp: 52 (WebCore::RenderListBox::panScroll): 53 * rendering/RenderMarquee.cpp: 54 (WebCore::RenderMarquee::updateMarqueeStyle): 55 * rendering/RenderMedia.cpp: 56 (WebCore::RenderMedia::updateControls): 57 * rendering/RenderObject.cpp: 58 (WebCore::RenderObject::drawLineForBoxSide): 59 (WebCore::RenderObject::localCaretRect): 60 * rendering/RenderSVGImage.cpp: 61 (WebCore::RenderSVGImage::adjustRectsForAspectRatio): 62 * rendering/RenderSlider.h: 63 * rendering/RenderTable.cpp: 64 (WebCore::RenderTable::outerBorderBottom): 65 * rendering/RenderTableCol.h: 66 * rendering/RenderTextControlSingleLine.cpp: 67 (WebCore::RenderTextControlSingleLine::itemIsSeparator): 68 * rendering/RenderThemeChromiumSkia.cpp: 69 (WebCore::RenderThemeChromiumSkia::supportsHover): 70 * rendering/RenderThemeChromiumWin.cpp: 71 (WebCore::RenderThemeChromiumWin::supportsFocusRing): 72 * rendering/SVGCharacterLayoutInfo.cpp: 73 (WebCore::SVGCharacterLayoutInfo::addStackContent): 74 * rendering/SVGCharacterLayoutInfo.h: 75 * rendering/TextControlInnerElements.h: 76 * rendering/bidi.cpp: 77 (WebCore::RenderBlock::computeHorizontalPositionsForLine): 78 1 79 2009-07-07 Oliver Hunt <oliver@apple.com> 2 80 -
trunk/WebCore/rendering/AutoTableLayout.cpp
r45015 r45624 95 95 if (w.isNegative()) 96 96 w.setValue(0); 97 switch (w.type()) {97 switch (w.type()) { 98 98 case Fixed: 99 99 // ignore width=0 … … 574 574 // the lines below might look inconsistent, but that's the way it's handled in mozilla 575 575 excess -= reduction; 576 int newWidth = max( int(m_layoutStruct[i].effMinWidth), w - reduction);576 int newWidth = max(static_cast<int>(m_layoutStruct[i].effMinWidth), w - reduction); 577 577 available += w - newWidth; 578 578 m_layoutStruct[i].calcWidth = newWidth; -
trunk/WebCore/rendering/InlineFlowBox.cpp
r45317 r45624 1038 1038 int visibleRightEdge = blockRightEdge; 1039 1039 1040 while (box) {1040 while (box) { 1041 1041 int currResult = box->placeEllipsisBox(ltr, visibleLeftEdge, visibleRightEdge, ellipsisWidth, foundBox); 1042 1042 if (currResult != -1 && result == -1) -
trunk/WebCore/rendering/InlineTextBox.cpp
r44763 r45624 754 754 void InlineTextBox::paintTextMatchMarker(GraphicsContext* pt, int tx, int ty, DocumentMarker marker, RenderStyle* style, const Font& font) 755 755 { 756 // Use same y positioning and height as for selection, so that when the selection and this highlight are on757 // the same word there are no pieces sticking out.756 // Use same y positioning and height as for selection, so that when the selection and this highlight are on 757 // the same word there are no pieces sticking out. 758 758 int y = selectionTop(); 759 759 int h = selectionHeight(); -
trunk/WebCore/rendering/MediaControlElements.cpp
r45614 r45624 471 471 MediaControlInputElement::defaultEventHandler(event); 472 472 473 if (event->type() == eventNames().mouseoverEvent || event->type() == eventNames().mouseoutEvent || event->type() == eventNames().mousemoveEvent) {473 if (event->type() == eventNames().mouseoverEvent || event->type() == eventNames().mouseoutEvent || event->type() == eventNames().mousemoveEvent) { 474 474 return; 475 475 } -
trunk/WebCore/rendering/MediaControlElements.h
r45614 r45624 79 79 // ---------------------------- 80 80 81 class MediaControlElement : public HTMLDivElement 82 { 81 class MediaControlElement : public HTMLDivElement { 83 82 public: 84 83 MediaControlElement(Document*, PseudoId, HTMLMediaElement*); -
trunk/WebCore/rendering/RenderArena.cpp
r40229 r45624 40 40 #include <wtf/Assertions.h> 41 41 42 #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y))42 #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) 43 43 44 44 namespace WebCore { -
trunk/WebCore/rendering/RenderBlock.cpp
r45608 r45624 693 693 } 694 694 695 void RenderBlock::startDelayUpdateScrollInfo() { 695 void RenderBlock::startDelayUpdateScrollInfo() 696 { 696 697 if (gDelayUpdateScrollInfo == 0) { 697 698 ASSERT(!gDelayedUpdateScrollInfoSet); … … 702 703 } 703 704 704 void RenderBlock::finishDelayUpdateScrollInfo() { 705 void RenderBlock::finishDelayUpdateScrollInfo() 706 { 705 707 --gDelayUpdateScrollInfo; 706 708 ASSERT(gDelayUpdateScrollInfo >= 0); … … 720 722 } 721 723 722 void RenderBlock::updateScrollInfoAfterLayout() { 724 void RenderBlock::updateScrollInfoAfterLayout() 725 { 723 726 if (hasOverflowClip()) { 724 727 if (gDelayUpdateScrollInfo) … … 2462 2465 int heightRemainingLeft = 1; 2463 2466 int heightRemainingRight = 1; 2464 int fx = leftRelOffset(y, lo, false, &heightRemainingLeft);2465 while (rightRelOffset(y, ro, false, &heightRemainingRight)-fx < fwidth) {2467 int fx = leftRelOffset(y, lo, false, &heightRemainingLeft); 2468 while (rightRelOffset(y, ro, false, &heightRemainingRight)-fx < fwidth) { 2466 2469 y += min(heightRemainingLeft, heightRemainingRight); 2467 fx = leftRelOffset(y, lo, false, &heightRemainingLeft);2470 fx = leftRelOffset(y, lo, false, &heightRemainingLeft); 2468 2471 } 2469 2472 fx = max(0, fx); … … 2473 2476 int heightRemainingLeft = 1; 2474 2477 int heightRemainingRight = 1; 2475 int fx = rightRelOffset(y, ro, false, &heightRemainingRight);2476 while (fx - leftRelOffset(y, lo, false, &heightRemainingLeft) < fwidth) {2478 int fx = rightRelOffset(y, ro, false, &heightRemainingRight); 2479 while (fx - leftRelOffset(y, lo, false, &heightRemainingLeft) < fwidth) { 2477 2480 y += min(heightRemainingLeft, heightRemainingRight); 2478 2481 fx = rightRelOffset(y, ro, false, &heightRemainingRight); … … 2499 2502 // set y position 2500 2503 int newY = 0; 2501 switch (clear)2504 switch (clear) 2502 2505 { 2503 2506 case CLEFT: … … 2670 2673 { 2671 2674 if (!m_floatingObjects) return 0; 2672 int bottom =0;2675 int bottom = 0; 2673 2676 FloatingObject* r; 2674 2677 DeprecatedPtrListIterator<FloatingObject> it(*m_floatingObjects); 2675 2678 for ( ; (r = it.current()); ++it ) 2676 2679 if (r->m_bottom>bottom) 2677 bottom =r->m_bottom;2680 bottom = r->m_bottom; 2678 2681 return bottom; 2679 2682 } … … 2960 2963 { 2961 2964 if (!m_floatingObjects) return 0; 2962 int bottom =0;2965 int bottom = 0; 2963 2966 FloatingObject* r; 2964 2967 DeprecatedPtrListIterator<FloatingObject> it(*m_floatingObjects); 2965 2968 for ( ; (r = it.current()); ++it ) 2966 2969 if (r->m_bottom > bottom && r->type() == FloatingObject::FloatLeft) 2967 bottom =r->m_bottom;2970 bottom = r->m_bottom; 2968 2971 2969 2972 return bottom; … … 2974 2977 { 2975 2978 if (!m_floatingObjects) return 0; 2976 int bottom =0;2979 int bottom = 0; 2977 2980 FloatingObject* r; 2978 2981 DeprecatedPtrListIterator<FloatingObject> it(*m_floatingObjects); 2979 2982 for ( ; (r = it.current()); ++it ) 2980 2983 if (r->m_bottom>bottom && r->type() == FloatingObject::FloatRight) 2981 bottom =r->m_bottom;2984 bottom = r->m_bottom; 2982 2985 2983 2986 return bottom; … … 3941 3944 } 3942 3945 3943 struct InlineMinMaxIterator 3944 { 3946 struct InlineMinMaxIterator { 3945 3947 /* InlineMinMaxIterator is a class that will iterate over all render objects that contribute to 3946 3948 inline min/max width calculations. Note the following about the way it walks: -
trunk/WebCore/rendering/RenderBox.cpp
r45332 r45624 1563 1563 return intrinsicSize().width(); 1564 1564 } 1565 1565 } 1566 1566 1567 1567 int RenderBox::calcReplacedHeight() const -
trunk/WebCore/rendering/RenderFieldset.cpp
r45317 r45624 100 100 int h = legend->height(); 101 101 legend->setLocation(xPos, max((b-h)/2, 0)); 102 setHeight(max(b, h) + paddingTop());102 setHeight(max(b, h) + paddingTop()); 103 103 } 104 104 return legend; -
trunk/WebCore/rendering/RenderFlexibleBox.cpp
r45568 r45624 37 37 class FlexBoxIterator { 38 38 public: 39 FlexBoxIterator(RenderFlexibleBox* parent) { 39 FlexBoxIterator(RenderFlexibleBox* parent) 40 { 40 41 box = parent; 41 42 if (box->style()->boxOrient() == HORIZONTAL && box->style()->direction() == RTL) … … 57 58 } 58 59 59 void reset() { 60 void reset() 61 { 60 62 current = 0; 61 63 currentOrdinal = forward ? 0 : lastOrdinal+1; 62 64 } 63 65 64 RenderBox* first() { 66 RenderBox* first() 67 { 65 68 reset(); 66 69 return next(); 67 70 } 68 71 69 RenderBox* next() { 72 RenderBox* next() 73 { 70 74 do { 71 75 if (!current) { … … 653 657 int xPos = borderLeft() + paddingLeft(); 654 658 int yPos = borderTop() + paddingTop(); 655 if ( style()->direction() == RTL)659 if (style()->direction() == RTL) 656 660 xPos = width() - paddingRight() - borderRight(); 657 661 int toAdd = borderBottom() + paddingBottom() + horizontalScrollbarHeight(); -
trunk/WebCore/rendering/RenderFrameSet.cpp
r41899 r45624 66 66 static Color borderStartEdgeColor() 67 67 { 68 return Color(170, 170,170);68 return Color(170, 170, 170); 69 69 } 70 70 -
trunk/WebCore/rendering/RenderFrameSet.h
r40651 r45624 33 33 enum FrameEdge { LeftFrameEdge, RightFrameEdge, TopFrameEdge, BottomFrameEdge }; 34 34 35 struct FrameEdgeInfo 36 { 35 struct FrameEdgeInfo { 37 36 FrameEdgeInfo(bool preventResize = false, bool allowBorder = true) 38 37 : m_preventResize(4) -
trunk/WebCore/rendering/RenderImage.cpp
r45143 r45624 90 90 }; 91 91 92 class RenderImageScaleObserver 93 { 92 class RenderImageScaleObserver { 94 93 public: 95 94 static bool shouldImagePaintAtLowQuality(RenderImage*, const IntSize&); -
trunk/WebCore/rendering/RenderLayer.cpp
r45613 r45624 461 461 do { 462 462 r = r->parent(); 463 if (r ==renderer())463 if (r == renderer()) 464 464 r = 0; 465 465 } while (r && !r->nextSibling()); … … 2638 2638 2639 2639 if (renderer()->hasOverflowClip()) { 2640 IntRect newOverflowClip = toRenderBox(renderer())->overflowClipRect(x, y);2640 IntRect newOverflowClip = toRenderBox(renderer())->overflowClipRect(x, y); 2641 2641 clipRects.setOverflowClipRect(intersection(newOverflowClip, clipRects.overflowClipRect())); 2642 2642 if (renderer()->isPositioned() || renderer()->isRelPositioned()) … … 2644 2644 } 2645 2645 if (renderer()->hasClip()) { 2646 IntRect newPosClip = toRenderBox(renderer())->clipRect(x, y);2646 IntRect newPosClip = toRenderBox(renderer())->clipRect(x, y); 2647 2647 clipRects.setPosClipRect(intersection(newPosClip, clipRects.posClipRect())); 2648 2648 clipRects.setOverflowClipRect(intersection(newPosClip, clipRects.overflowClipRect())); … … 2694 2694 // This layer establishes a clip of some kind. 2695 2695 if (renderer()->hasOverflowClip()) 2696 foregroundRect.intersect(toRenderBox(renderer())->overflowClipRect(x, y));2696 foregroundRect.intersect(toRenderBox(renderer())->overflowClipRect(x, y)); 2697 2697 if (renderer()->hasClip()) { 2698 2698 // Clip applies to *us* as well, so go ahead and update the damageRect. 2699 IntRect newPosClip = toRenderBox(renderer())->clipRect(x, y);2699 IntRect newPosClip = toRenderBox(renderer())->clipRect(x, y); 2700 2700 backgroundRect.intersect(newPosClip); 2701 2701 foregroundRect.intersect(newPosClip); -
trunk/WebCore/rendering/RenderListBox.cpp
r45478 r45624 417 417 int yDelta = currentMousePosition.y() - panStartMousePosition.y(); 418 418 419 // If the point is too far from the center we limit the speed419 // If the point is too far from the center we limit the speed 420 420 yDelta = max(min(yDelta, maxSpeed), -maxSpeed); 421 421 422 if (abs(yDelta) < iconRadius) // at the center we let the space for the icon422 if (abs(yDelta) < iconRadius) // at the center we let the space for the icon 423 423 return; 424 424 … … 426 426 //offsetY = view()->viewHeight(); 427 427 absOffset.move(0, listHeight()); 428 else if (yDelta < 0)429 yDelta--;428 else if (yDelta < 0) 429 yDelta--; 430 430 431 431 // Let's attenuate the speed 432 432 yDelta /= speedReducer; 433 433 434 IntPoint scrollPoint(0, 0);434 IntPoint scrollPoint(0, 0); 435 435 scrollPoint.setY(absOffset.y() + yDelta); 436 436 int newOffset = scrollToward(scrollPoint); -
trunk/WebCore/rendering/RenderMarquee.cpp
r43889 r45624 236 236 if (isHorizontal()) { 237 237 if (s->height().isFixed() && s->height().value() < s->fontSize()) 238 s->setHeight(Length(s->fontSize(), Fixed));238 s->setHeight(Length(s->fontSize(), Fixed)); 239 239 } else if (s->height().isAuto()) //vertical marquee with no specified height 240 240 s->setHeight(Length(200, Fixed)); … … 310 310 311 311 } // namespace WebCore 312 -
trunk/WebCore/rendering/RenderMedia.cpp
r45614 r45624 305 305 if (m_timeUpdateTimer.isActive()) 306 306 m_timeUpdateTimer.stop(); 307 } else if (style()->visibility() == VISIBLE && m_timeline && m_timeline->renderer() && m_timeline->renderer()->style()->display() != NONE 307 } else if (style()->visibility() == VISIBLE && m_timeline && m_timeline->renderer() && m_timeline->renderer()->style()->display() != NONE) { 308 308 m_timeUpdateTimer.startRepeating(cTimeUpdateRepeatDelay); 309 309 } -
trunk/WebCore/rendering/RenderObject.cpp
r45612 r45624 775 775 case BSRight: 776 776 drawLineForBoxSide(graphicsContext, x1, y1 + max((adjbw1 * 2 + 1) / 3, 0), 777 x1 + third, y2 - max(( 777 x1 + third, y2 - max((adjbw2 * 2 + 1) / 3, 0), 778 778 s, c, textcolor, SOLID, adjbw1bigthird, adjbw2bigthird); 779 779 drawLineForBoxSide(graphicsContext, x2 - third, y1 + max((-adjbw1 * 2 + 1) / 3, 0), … … 1739 1739 IntRect RenderObject::localCaretRect(InlineBox*, int, int* extraWidthToEndOfLine) 1740 1740 { 1741 if (extraWidthToEndOfLine)1742 *extraWidthToEndOfLine = 0;1741 if (extraWidthToEndOfLine) 1742 *extraWidthToEndOfLine = 0; 1743 1743 1744 1744 return IntRect(); -
trunk/WebCore/rendering/RenderSVGImage.cpp
r45550 r45624 60 60 if (origDestHeight > (origDestWidth * widthToHeightMultiplier)) { 61 61 destRect.setHeight(origDestWidth * widthToHeightMultiplier); 62 switch (aspectRatio->align()) {62 switch (aspectRatio->align()) { 63 63 case SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMINYMID: 64 64 case SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMID: … … 75 75 if (origDestWidth > (origDestHeight / widthToHeightMultiplier)) { 76 76 destRect.setWidth(origDestHeight / widthToHeightMultiplier); 77 switch (aspectRatio->align()) {77 switch (aspectRatio->align()) { 78 78 case SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMIN: 79 79 case SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMID: … … 94 94 float destToSrcMultiplier = srcRect.width() / destRect.width(); 95 95 srcRect.setHeight(destRect.height() * destToSrcMultiplier); 96 switch (aspectRatio->align()) {96 switch (aspectRatio->align()) { 97 97 case SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMINYMID: 98 98 case SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMID: … … 111 111 float destToSrcMultiplier = srcRect.height() / destRect.height(); 112 112 srcRect.setWidth(destRect.width() * destToSrcMultiplier); 113 switch (aspectRatio->align()) {113 switch (aspectRatio->align()) { 114 114 case SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMIN: 115 115 case SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMID: -
trunk/WebCore/rendering/RenderSlider.h
r41972 r45624 42 42 virtual bool isSlider() const { return true; } 43 43 44 virtual int baselinePosition( bool, bool) const;44 virtual int baselinePosition(bool, bool) const; 45 45 virtual void calcPrefWidths(); 46 46 virtual void layout(); -
trunk/WebCore/rendering/RenderTable.cpp
r45317 r45624 883 883 else { 884 884 RenderObject* child; 885 for (child = lastChild(); child && !child->isTableSection(); child = child->previousSibling()) 886 ; 885 for (child = lastChild(); child && !child->isTableSection(); child = child->previousSibling()) { } 887 886 bottomSection = child ? static_cast<RenderTableSection*>(child) : 0; 888 887 } -
trunk/WebCore/rendering/RenderTableCol.h
r45015 r45624 34 34 namespace WebCore { 35 35 36 class RenderTableCol : public RenderBox 37 { 36 class RenderTableCol : public RenderBox { 38 37 public: 39 38 RenderTableCol(Node*); -
trunk/WebCore/rendering/RenderTextControlSingleLine.cpp
r44806 r45624 745 745 bool RenderTextControlSingleLine::itemIsSeparator(unsigned listIndex) const 746 746 { 747 // The separator will be the second to last item in our list.748 return static_cast<int>(listIndex) == (listSize() - 2);747 // The separator will be the second to last item in our list. 748 return static_cast<int>(listIndex) == (listSize() - 2); 749 749 } 750 750 -
trunk/WebCore/rendering/RenderThemeChromiumSkia.cpp
r45569 r45624 134 134 bool RenderThemeChromiumSkia::supportsHover(const RenderStyle* style) const 135 135 { 136 return true;136 return true; 137 137 } 138 138 -
trunk/WebCore/rendering/RenderThemeChromiumWin.cpp
r45215 r45624 205 205 bool RenderThemeChromiumWin::supportsFocusRing(const RenderStyle* style) const 206 206 { 207 // Let webkit draw one of its halo rings around any focused element,208 // except push buttons. For buttons we use the windows PBS_DEFAULTED209 // styling to give it a blue border.210 return style->appearance() == ButtonPart211 || style->appearance() == PushButtonPart;207 // Let webkit draw one of its halo rings around any focused element, 208 // except push buttons. For buttons we use the windows PBS_DEFAULTED 209 // styling to give it a blue border. 210 return style->appearance() == ButtonPart 211 || style->appearance() == PushButtonPart; 212 212 } 213 213 -
trunk/WebCore/rendering/SVGCharacterLayoutInfo.cpp
r40842 r45624 391 391 dyStack.append(list); 392 392 break; 393 case AngleStack:393 case AngleStack: 394 394 angleStackChanged = true; 395 395 angleStack.append(list); 396 396 break; 397 default:397 default: 398 398 ASSERT_NOT_REACHED(); 399 399 } -
trunk/WebCore/rendering/SVGCharacterLayoutInfo.h
r39635 r45624 45 45 46 46 template<class Type> 47 class PositionedVector : public Vector<Type> 48 { 47 class PositionedVector : public Vector<Type> { 49 48 public: 50 49 PositionedVector<Type>() -
trunk/WebCore/rendering/TextControlInnerElements.h
r37637 r45624 33 33 class String; 34 34 35 class TextControlInnerElement : public HTMLDivElement 36 { 35 class TextControlInnerElement : public HTMLDivElement { 37 36 public: 38 37 TextControlInnerElement(Document*, Node* shadowParent = 0); -
trunk/WebCore/rendering/bidi.cpp
r45608 r45624 642 642 // justifying text. 643 643 int x = leftOffset(height(), firstLine); 644 switch (textAlign) {644 switch (textAlign) { 645 645 case LEFT: 646 646 case WEBKIT_LEFT:
Note: See TracChangeset
for help on using the changeset viewer.