Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index c37f31c0cc4994c71bfbdbfe344f24f90c74409d..a54ee29fa9457566de78cc6cbcab4ec3413dec72 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2011 Google Inc. |
* |
@@ -18,6 +17,7 @@ |
#include "SkConfig8888.h" |
#include "SkGrPriv.h" |
+#include "SkTypes.h" |
#include "effects/GrConfigConversionEffect.h" |
#include "text/GrTextBlobCache.h" |
@@ -267,7 +267,7 @@ bool GrContext::writeSurfacePixels(GrSurface* surface, |
} |
GrGpu::WritePixelTempDrawInfo tempDrawInfo; |
- if (!fGpu->getWritePixelsInfo(surface, width, height, rowBytes, srcConfig, &drawPreference, |
+ if (!fGpu->getWritePixelsInfo(surface, width, height, srcConfig, &drawPreference, |
&tempDrawInfo)) { |
return false; |
} |