Changeset 47607 in webkit
- Timestamp:
- Aug 20, 2009 4:30:30 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r47606 r47607 1 2009-08-20 Stephen White <senorblanco@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Fix for assert in Chromium page cycler: drawRect() was re-using 6 an SkPaint, but not resetting it before calling 7 PlatformGraphicsSkia::setupPaintForFilling() a second time. This 8 CL fixes drawRect(), and re-enables the assert. 9 http://bugs.webkit.org/show_bug.cgi?id=28172 10 http://crbug.com/19797 11 12 Covered by Chromium page cycler tests. 13 14 * platform/graphics/skia/PlatformContextSkia.cpp: 15 (PlatformContextSkia::drawRect): 16 (PlatformContextSkia::setupPaintCommon): 17 1 18 2009-08-20 Anders Carlsson <andersca@apple.com> 2 19 -
trunk/WebCore/platform/graphics/skia/PlatformContextSkia.cpp
r47546 r47607 279 279 oldFillShader->safeRef(); 280 280 setFillColor(m_state->m_strokeColor); 281 paint.reset(); 281 282 setupPaintForFilling(&paint); 282 283 SkRect topBorder = { rect.fLeft, rect.fTop, rect.fRight, rect.fTop + 1 }; … … 296 297 void PlatformContextSkia::setupPaintCommon(SkPaint* paint) const 297 298 { 298 // http://trac.webkit.org/changeset/47386/ re-enabled this assert and it 299 // immediately started being hit in page cycler code. 300 // FIXME: Re-enable it. 301 #if defined(SK_DEBUG) && 0 299 #if defined(SK_DEBUG) 302 300 { 303 301 SkPaint defaultPaint;
Note: See TracChangeset
for help on using the changeset viewer.