Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 17092bd2a060e2b82f9e508d41f74b2c2302ee7f..0e11f617084b8052bb4c302ad62ad2e434c90bd8 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -1708,7 +1708,8 @@ bool SkPDFDevice::handlePathAnnotation(const SkPath& path, |
SkPath transformedPath = path; |
transformedPath.transform(*d.fMatrix); |
SkRasterClip clip = *d.fRC; |
- clip.op(transformedPath, SkISize::Make(width(), height()), SkRegion::kIntersect_Op, false); |
+ clip.op(transformedPath, SkIRect::MakeWH(width(), height()), SkRegion::kIntersect_Op, |
+ false); |
SkRect transformedRect = SkRect::Make(clip.getBounds()); |
SkData* urlData = annotation->find(SkAnnotationKeys::URL_Key()); |