Turns out there were already classes named "SkLinearGradient" and "SkRadialGradient" in animator... though there's nowhere ...
12 years, 3 months ago
(2012-07-26 21:05:20 UTC)
#1
Turns out there were already classes named "SkLinearGradient" and
"SkRadialGradient" in animator... though there's nowhere they're both visible at
once, the mac compiler seems to get tripped up by this.
I renamed the classes to SkDrawLinearGradient, SkDrawRadialGradient and
SkDrawGradient (the file they live in is called "SkDrawGradient", so it seemed
reasonable. After changing the names, I needed to change of a bunch of enums
that seemed to be created with macros based on those class names, and I'm really
not sure all these changes are safe (I hope this isn't breaking a public
interface that something relies on...).
Issue 6441057: Mac build fix after gradient restructure/renaming.
(Closed)
Created 12 years, 3 months ago by rileya
Modified 12 years, 3 months ago
Reviewers: bsalomon, TomH, robertphillips, reed1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0