summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav/CachedRoot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/nav/CachedRoot.cpp')
-rw-r--r--WebKit/android/nav/CachedRoot.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebKit/android/nav/CachedRoot.cpp b/WebKit/android/nav/CachedRoot.cpp
index d529a00..3823ec9 100644
--- a/WebKit/android/nav/CachedRoot.cpp
+++ b/WebKit/android/nav/CachedRoot.cpp
@@ -899,10 +899,10 @@ protected:
return false;
if (mLayerTypes.isEmpty() || mLayerTypes.last() != mType
|| !mAppendLikeTypes
- // if the last was a rect, and the current one is also a rect,
- // but the two rects have a gap between, don't join them -- push
+ // if the last and current were not glyphs,
+ // and the two bounds have a gap between, don't join them -- push
// an empty between them
- || (mType == kDrawRect_Type && !joinable(rect))) {
+ || (mType != kDrawGlyph_Type && !joinable(rect))) {
push(mType, mEmpty);
}
DBG_NAV_LOGD("RingCheck join %s (%d,%d,r=%d,b=%d) '%c'",