Mac OS X is the only platform that supports NSColor, so rename $buildingForIPhone to $shouldUseCGColor (which is actually what the variable represents) and define it in terms of the "macosx" platform name.
Created attachment 241394 [details] Patch v1
<rdar://problem/18919000>
Comment on attachment 241394 [details] Patch v1 OK.
Comment on attachment 241394 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=241394&action=review > Source/WebCore/ChangeLog:3 > + Modernize $buildingForIPhone in CodeGeneratorObjC.pm "Modernize" is a strange way of saying "rename".
Comment on attachment 241394 [details] Patch v1 Clearing flags on attachment: 241394 Committed r175995: <http://trac.webkit.org/changeset/175995>
All reviewed patches have been landed. Closing bug.
(In reply to comment #4) > Comment on attachment 241394 [details] > Patch v1 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=241394&action=review > > > Source/WebCore/ChangeLog:3 > > + Modernize $buildingForIPhone in CodeGeneratorObjC.pm > > "Modernize" is a strange way of saying "rename". That's because it wasn't just a variable rename; I changed the logic of how the variable was defined and removed some cruft.