Index: src/ports/SkFontMgr_android.cpp |
diff --git a/src/ports/SkFontMgr_android.cpp b/src/ports/SkFontMgr_android.cpp |
index b0af791d300a974f2898d336b3a3eb767b1be7c0..5db2442c5e62ab57f0013fc597aee020065ed831 100644 |
--- a/src/ports/SkFontMgr_android.cpp |
+++ b/src/ports/SkFontMgr_android.cpp |
@@ -506,7 +506,7 @@ SkFontMgr* SkFontMgr::Factory() { |
const char* basePath; |
SkGetTestFontConfiguration(&mainConfigFile, &fallbackConfigFile, &basePath); |
if (mainConfigFile) { |
- SkNEW_ARGS(SkFontMgr_Android, (mainConfigFile, fallbackConfigFile, basePath)); |
+ return SkNEW_ARGS(SkFontMgr_Android, (mainConfigFile, fallbackConfigFile, basePath)); |
} |
return SkNEW(SkFontMgr_Android); |