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):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114316
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-16 Xiaomei Ji <xji@chromium.org>
+
+ 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):
+
2012-04-16 Levi Weintraub <leviw@chromium.org>
Make borderBoxRect sub-pixel precise and add a pixel snapped version
}
if (fontData->hasVerticalGlyphs()) {
- bool lookVariants = false;
for (unsigned i = 0; i < bufferLength; ++i) {
if (!Font::isCJKIdeograph(buffer[i])) {
- lookVariants = true;
- continue;
+ substituteWithVerticalGlyphs(fontData, glyphs, length);
+ break;
}
}
- if (lookVariants)
- substituteWithVerticalGlyphs(fontData, glyphs, length);
}
unsigned allGlyphs = 0; // track if any of the glyphIDs are non-zero