diff options
Diffstat (limited to 'skia/sgl/SkScan.cpp')
-rw-r--r-- | skia/sgl/SkScan.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/skia/sgl/SkScan.cpp b/skia/sgl/SkScan.cpp index 1d80bb1..013b0ea 100644 --- a/skia/sgl/SkScan.cpp +++ b/skia/sgl/SkScan.cpp @@ -1,6 +1,6 @@ /* libs/graphics/sgl/SkScan.cpp ** -** Copyright 2006, Google Inc. +** Copyright 2006, The Android Open Source Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. @@ -65,10 +65,10 @@ void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip, void SkScan::FillRect(const SkRect& r, const SkRegion* clip, SkBlitter* blitter) { - SkXRect xr; + SkIRect ir; - XRect_set(&xr, r); - SkScan::FillXRect(xr, clip, blitter); + r.round(&ir); + SkScan::FillIRect(ir, clip, blitter); } #endif |