Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 854ff742f348934f90f4b66f08b90184c65d5fcc..54ab84d4b3b8c289ab59d08aa742e8221d2d738a 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; |
} |