Changeset 74089 in webkit
- Timestamp:
- Dec 14, 2010 6:09:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r74087 r74089 1 2010-12-02 MORITA Hajime <morrita@google.com> 2 3 Reviewed by Dimitri Glazkov. 4 5 [chromium] Fix drawing of inset box shadows 6 https://bugs.webkit.org/show_bug.cgi?id=41576 7 8 * platform/chromium-win/fast/box-shadow/inset-expected.checksum: 9 * platform/chromium-win/fast/box-shadow/inset-expected.png: 10 1 11 2010-12-14 Yael Aharon <yael.aharon@nokia.com> 2 12 -
trunk/LayoutTests/platform/chromium-win/fast/box-shadow/inset-expected.checksum
r56264 r74089 1 099b9b1b37f7dc784445a53b9215d653 1 f6660780769f8736789850eaeccaddce -
trunk/WebCore/ChangeLog
r74086 r74089 1 2010-12-02 MORITA Hajime <morrita@google.com> 2 3 Reviewed by Dimitri Glazkov. 4 5 [chromium] Fix drawing of inset box shadows 6 https://bugs.webkit.org/show_bug.cgi?id=41576 7 8 When clearing outside clipped path, the context contains unexpected transform. 9 Fixed to restore original state before the clear. 10 11 * platform/graphics/skia/PlatformContextSkia.cpp: 12 (WebCore::PlatformContextSkia::clipPathAntiAliased): 13 (WebCore::PlatformContextSkia::applyAntiAliasedClipPaths): 14 1 15 2010-12-14 Anders Carlsson <andersca@apple.com> 2 16 -
trunk/WebCore/platform/graphics/skia/PlatformContextSkia.cpp
r73284 r74089 300 300 SkRect bounds = clipPath.getBounds(); 301 301 canvas()->saveLayerAlpha(&bounds, 255, static_cast<SkCanvas::SaveFlags>(SkCanvas::kHasAlphaLayer_SaveFlag | SkCanvas::kFullColorLayer_SaveFlag | SkCanvas::kClipToLayer_SaveFlag)); 302 // Guards state modification during clipped operations. 303 // The state is popped in applyAntiAliasedClipPaths(). 304 canvas()->save(); 302 305 } 303 306 } … … 676 679 // into the layer below and we end up with correct, anti-aliased clipping. 677 680 681 m_canvas->restore(); 682 678 683 SkPaint paint; 679 684 paint.setXfermodeMode(SkXfermode::kClear_Mode);
Note: See TracChangeset
for help on using the changeset viewer.