Index: tools/debugger/SkDrawCommand.cpp |
diff --git a/tools/debugger/SkDrawCommand.cpp b/tools/debugger/SkDrawCommand.cpp |
index b95a9b89d1753c785db85a0296535669e1501301..4a88fa1b33142c582ecb502955bfde18e79d3a5e 100644 |
--- a/tools/debugger/SkDrawCommand.cpp |
+++ b/tools/debugger/SkDrawCommand.cpp |
@@ -1214,7 +1214,8 @@ |
const void* data; |
Json::ArrayIndex length = decode_data(jsonData, urlDataManager, &data); |
SkMemoryStream buffer(data, length); |
- target->setTypeface(SkTypeface::MakeDeserialize(&buffer)); |
+ SkTypeface* typeface = SkTypeface::Deserialize(&buffer); |
+ target->setTypeface(typeface); |
} |
} |