aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkColorTable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkColorTable.cpp')
-rw-r--r--src/core/SkColorTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkColorTable.cpp b/src/core/SkColorTable.cpp
index 8e889d44c4..d11ef78b1a 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);
}