Changeset 47526 in webkit
- Timestamp:
- Aug 19, 2009 1:56:09 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r47525 r47526 1 2009-08-19 Peter Kasting <pkasting@google.com> 2 3 Unreviewed (build fix for Skia). 4 5 https://bugs.webkit.org/show_bug.cgi?id=28268 6 7 * platform/graphics/skia/GraphicsContextSkia.cpp: 8 (WebCore::GraphicsContext::drawLine): 9 1 10 2009-08-19 Jan Michael Alonzo <jmalonzo@webkit.org> 2 11 -
trunk/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
r47498 r47526 522 522 523 523 SkPaint paint; 524 if (!isPointSkiaSafe(getCTM(), p ts[0]) || !isPointSkiaSafe(getCTM(), pts[1]))524 if (!isPointSkiaSafe(getCTM(), point1) || !isPointSkiaSafe(getCTM(), point2)) 525 525 return; 526 526 … … 533 533 // be the sum of the displacement component vectors give or take 1 - 534 534 // probably worth the speed up of no square root, which also won't be exact. 535 Float Pointdisp = p2 - p1;536 int length = SkScalarRound(disp. x() + disp.y());535 FloatSize disp = p2 - p1; 536 int length = SkScalarRound(disp.width() + disp.height()); 537 537 platformContext()->setupPaintForStroking(&paint, 0, length); 538 538
Note: See TracChangeset
for help on using the changeset viewer.