Conditionally define SK_SUPPORT_LEGACY_DATA_FACTORIES.
authorbungeman <bungeman@google.com>
Fri, 29 Jul 2016 17:47:45 +0000 (10:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 29 Jul 2016 17:47:45 +0000 (10:47 -0700)
commitaa8f39402c1b52202cb06e2c1c247ca4bd5e8afc
treebf120e523ba78546fd08410901e51b9b712e06b7
parent31bc7df59b2cafeaf13bc3cd44a1a3ba3c54308e
Conditionally define SK_SUPPORT_LEGACY_DATA_FACTORIES.

In order to remove this define it will first need to be defined in
Chromium. However, doing so causes redefinition warnings as errors.
Only define this macro if it is not already defined to avoid this.

TBR=reed
This doesn't change any API.

Review-Url: https://codereview.chromium.org/2198453002
include/core/SkData.h