Changeset 114316 in webkit


Ignore:
Timestamp:
Apr 16, 2012 4:32:16 PM (12 years ago)
Author:
xji@chromium.org
Message:

platform/graphics/skia/GlyphPageTreeNodeSkia.cpp mis-use 'continue' for 'break'
https://bugs.webkit.org/show_bug.cgi?id=83521

Reviewed by David Levin.

No functionality change, so no new tests.

  • platform/graphics/skia/GlyphPageTreeNodeSkia.cpp:

(WebCore::GlyphPage::fill):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r114315 r114316  
     12012-04-16  Xiaomei Ji  <xji@chromium.org>
     2
     3        platform/graphics/skia/GlyphPageTreeNodeSkia.cpp mis-use 'continue' for 'break'
     4        https://bugs.webkit.org/show_bug.cgi?id=83521
     5
     6        Reviewed by David Levin.
     7
     8        No functionality change, so no new tests.
     9
     10        * platform/graphics/skia/GlyphPageTreeNodeSkia.cpp:
     11        (WebCore::GlyphPage::fill):
     12
    1132012-04-16  Levi Weintraub  <leviw@chromium.org>
    214
  • trunk/Source/WebCore/platform/graphics/skia/GlyphPageTreeNodeSkia.cpp

    r113951 r114316  
    9797
    9898    if (fontData->hasVerticalGlyphs()) {
    99         bool lookVariants = false;
    10099        for (unsigned i = 0; i < bufferLength; ++i) {
    101100            if (!Font::isCJKIdeograph(buffer[i])) {
    102                 lookVariants = true;
    103                 continue;
     101                substituteWithVerticalGlyphs(fontData, glyphs, length);
     102                break;
    104103            }
    105104        }
    106         if (lookVariants)
    107             substituteWithVerticalGlyphs(fontData, glyphs, length);
    108105    }
    109106
Note: See TracChangeset for help on using the changeset viewer.