Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not export SkTDArray when building Skia as a DLL
This class has four members (deleteAll, freeAll, unrefAll and safeUnrefAll) which will only compile for certain instantiations of SkTDArray depending on the template argument type. Marking this class as dllexport breaks the build with clang-cl because of http://llvm.org/PR20163. Since this class is header-only, we can just make it non-exported to enable building Skia as a DLL with clang-cl. BUG=skia: [email protected], [email protected], [email protected] Author: [email protected] Review URL: https://codereview.chromium.org/368253002
- Loading branch information