Index: tools/skpdiff/SkCLImageDiffer.cpp |
diff --git a/tools/skpdiff/SkCLImageDiffer.cpp b/tools/skpdiff/SkCLImageDiffer.cpp |
index d1e6958ab9f77cb1324ab545d19bc3699f87fe85..b99ef40d700f9b361462460613f883a3ee47d301 100644 |
--- a/tools/skpdiff/SkCLImageDiffer.cpp |
+++ b/tools/skpdiff/SkCLImageDiffer.cpp |
@@ -84,7 +84,7 @@ bool SkCLImageDiffer::loadKernelSource(const char source[], const char name[], c |
return true; |
} |
-bool SkCLImageDiffer::makeImage2D(SkBitmap* bitmap, cl_mem* image) { |
+bool SkCLImageDiffer::makeImage2D(SkBitmap* bitmap, cl_mem* image) const { |
cl_int imageErr; |
cl_image_format bitmapFormat; |
switch (bitmap->config()) { |