Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 65002125a36d6f0e75a9a0ac0987b3938ff50fac..7e10504fbdb0f096b2ad3119783aa58d4b0a7639 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1114,8 +1114,7 @@ SkAutoROCanvasPixels::SkAutoROCanvasPixels(SkCanvas* canvas) { |
bool SkAutoROCanvasPixels::asROBitmap(SkBitmap* bitmap) const { |
if (fAddr) { |
- return bitmap->installPixels(fInfo, const_cast<void*>(fAddr), fRowBytes, |
- NULL, NULL); |
+ return bitmap->installPixels(fInfo, const_cast<void*>(fAddr), fRowBytes); |
} else { |
bitmap->reset(); |
return false; |