| Index: tools/Resources.cpp
|
| diff --git a/tools/Resources.cpp b/tools/Resources.cpp
|
| index 4c3db1e90c0dfd2f9c8bf8653c8100f4c796f556..608b03cff650a07acc2410b1eaeb7ddaa052d7b1 100644
|
| --- a/tools/Resources.cpp
|
| +++ b/tools/Resources.cpp
|
| @@ -46,9 +46,5 @@ SkTypeface* GetResourceAsTypeface(const char* resource) {
|
| if (!stream) {
|
| return NULL;
|
| }
|
| - SkAutoTUnref<SkTypeface> typeface(SkTypeface::CreateFromStream(stream.detach()));
|
| - if (!typeface) {
|
| - SkDebugf("Resource %s not a valid font.\n", resource);
|
| - }
|
| - return typeface.detach();
|
| + return SkTypeface::CreateFromStream(stream.detach());
|
| }
|
|
|