Changeset 96442 in webkit
- Timestamp:
- Sep 30, 2011 5:46:50 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r96440 r96442 1 2011-09-30 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r96426. 4 http://trac.webkit.org/changeset/96426 5 https://bugs.webkit.org/show_bug.cgi?id=69199 6 7 Broke a zillion image results on Chromium Skia Mac (Requested 8 by abarth|gardener on #webkit). 9 10 * platform/graphics/skia/GraphicsContextSkia.cpp: 11 (WebCore::getFocusRingOutset): 12 (WebCore::GraphicsContext::drawFocusRing): 13 1 14 2011-09-30 Ilya Sherman <isherman@chromium.org> 2 15 -
trunk/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
r96426 r96442 539 539 } 540 540 541 static inline SkScalar getFocusRingOutset( )541 static inline SkScalar getFocusRingOutset(int width) 542 542 { 543 543 #if PLATFORM(CHROMIUM) && OS(DARWIN) 544 return 0.75f;544 return (width * 0.5f) + 0.25f; 545 545 #else 546 546 return 0.5f; … … 558 558 559 559 SkRegion focusRingRegion; 560 const SkScalar focusRingOutset = getFocusRingOutset( );560 const SkScalar focusRingOutset = getFocusRingOutset(width); 561 561 for (unsigned i = 0; i < rectCount; i++) { 562 562 SkIRect r = rects[i];
Note: See TracChangeset
for help on using the changeset viewer.