Index: include/core/SkTextBlob.h |
diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h |
index 01263af02d6701099efca009be0e02d93ea70d2c..35d5dc41738f0668c5210bc0819fd6778bd393ce 100644 |
--- a/include/core/SkTextBlob.h |
+++ b/include/core/SkTextBlob.h |
@@ -106,9 +106,11 @@ public: |
*/ |
sk_sp<SkTextBlob> make(); |
+#ifdef SK_SUPPORT_LEGACY_TEXTBLOB_BUILDER |
const SkTextBlob* build() { |
return this->make().release(); |
} |
+#endif |
/** |
* Glyph and position buffers associated with a run. |