Index: src/core/SkColorTable.cpp |
diff --git a/src/core/SkColorTable.cpp b/src/core/SkColorTable.cpp |
index 8e889d44c4929a29584b0e099bee07090268b0e3..d11ef78b1a00401fc3061ba78ad86f9a79693601 100644 |
--- a/src/core/SkColorTable.cpp |
+++ b/src/core/SkColorTable.cpp |
@@ -107,6 +107,6 @@ SkColorTable* SkColorTable::Create(SkReadBuffer& buffer) { |
return nullptr; |
} |
- return new SkColorTable(colors.detach(), count, kAllocatedWithMalloc); |
+ return new SkColorTable(colors.release(), count, kAllocatedWithMalloc); |
} |