Index: tests/GpuBitmapCopyTest.cpp |
diff --git a/tests/GpuBitmapCopyTest.cpp b/tests/GpuBitmapCopyTest.cpp |
index 0d9cf2ba857a8265ab3b4173b2e27c31357449ff..6e1d74dd977c3f942bfd557fc6f74154fbe0db25 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::MakeFromIRect(subsetRect), paint); |
+ drawingCanvas.drawRect(SkRect::Make(subsetRect), paint); |
// Extract a subset. If this succeeds we will test copying the subset. |
SkBitmap subset; |