Index: src/core/SkBitmapProcState_procs.h |
diff --git a/src/core/SkBitmapProcState_procs.h b/src/core/SkBitmapProcState_procs.h |
index da9ca89bbf954ceae678ad2055fc2691b4bc1c55..68c79835a9d1df2865bd70df2680565825822f69 100644 |
--- a/src/core/SkBitmapProcState_procs.h |
+++ b/src/core/SkBitmapProcState_procs.h |
@@ -157,7 +157,7 @@ static inline U8CPU Filter_8(unsigned x, unsigned y, |
#define PREAMBLE(state) const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()->lockColors() |
#define RETURNDST(src) table[src] |
#define SRC_TO_FILTER(src) table[src] |
-#define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors(false) |
+#define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors() |
#include "SkBitmapProcState_sample.h" |
#undef FILTER_PROC |
@@ -172,7 +172,7 @@ static inline U8CPU Filter_8(unsigned x, unsigned y, |
const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()->lockColors() |
#define RETURNDST(src) SkAlphaMulQ(table[src], alphaScale) |
#define SRC_TO_FILTER(src) table[src] |
-#define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors(false) |
+#define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors() |
#include "SkBitmapProcState_sample.h" |
// SRC == 4444 |
@@ -337,7 +337,7 @@ static inline U8CPU Filter_8(unsigned x, unsigned y, |
#define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kIndex8_Config) |
#define PREAMBLE(state) const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()->lockColors() |
#define SRC_TO_FILTER(src) table[src] |
-#define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors(false) |
+#define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors() |
#include "SkBitmapProcState_shaderproc.h" |
#undef NAME_WRAP |