diff options
Diffstat (limited to 'chromium/third_party/skia/src/gpu/GrClipData.cpp')
-rw-r--r-- | chromium/third_party/skia/src/gpu/GrClipData.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/skia/src/gpu/GrClipData.cpp b/chromium/third_party/skia/src/gpu/GrClipData.cpp index 22b43710f88..40bdec8877a 100644 --- a/chromium/third_party/skia/src/gpu/GrClipData.cpp +++ b/chromium/third_party/skia/src/gpu/GrClipData.cpp @@ -18,15 +18,15 @@ * the result of purely intersections of rects (with an initial replace) * isIntersectionOfRects will be set to true. */ -void GrClipData::getConservativeBounds(const GrSurface* surface, +void GrClipData::getConservativeBounds(int width, int height, SkIRect* devResult, bool* isIntersectionOfRects) const { SkRect devBounds; fClipStack->getConservativeBounds(-fOrigin.fX, -fOrigin.fY, - surface->width(), - surface->height(), + width, + height, &devBounds, isIntersectionOfRects); |