aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GpuBitmapCopyTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GpuBitmapCopyTest.cpp')
-rw-r--r--tests/GpuBitmapCopyTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GpuBitmapCopyTest.cpp b/tests/GpuBitmapCopyTest.cpp
index 6e1d74dd97..0d9cf2ba85 100644
--- a/tests/GpuBitmapCopyTest.cpp
+++ b/tests/GpuBitmapCopyTest.cpp
@@ -139,7 +139,7 @@ static void TestGpuBitmapCopy(skiatest::Reporter* reporter, GrContextFactory* fa
SkCanvas drawingCanvas(device);
SkPaint paint;
paint.setColor(SK_ColorRED);
- drawingCanvas.drawRect(SkRect::Make(subsetRect), paint);
+ drawingCanvas.drawRect(SkRect::MakeFromIRect(subsetRect), paint);
// Extract a subset. If this succeeds we will test copying the subset.
SkBitmap subset;