Bug 91752 - [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
Summary: [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified OS X 10.6
: P2 Normal
Assignee: Robert Sesek
URL: http://code.google.com/p/chromium/iss...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-19 09:16 PDT by Robert Sesek
Modified: 2019-05-02 16:22 PDT (History)
7 users (show)

See Also:


Attachments
ATSUI,v1 (1.07 KB, patch)
2012-07-19 09:51 PDT, Robert Sesek
no flags Details | Formatted Diff | Diff
ColorSpaceWarnings,v1 (2.09 KB, patch)
2012-07-19 10:08 PDT, Robert Sesek
eric: review-
Details | Formatted Diff | Diff
ColorSpaceWarnings,v2 (2.57 KB, patch)
2012-07-20 08:29 PDT, Robert Sesek
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Sesek 2012-07-19 09:16:20 PDT
Downstream Chromium has just changed its build SDK from 10.5 to 10.6, which required no changes. However changing the deployment target from 10.5 to 10.6 generates some -Wdeprecated-declaration warnings that are converted to errors. This bug will track fixing those.
Comment 1 Robert Sesek 2012-07-19 09:51:28 PDT
Created attachment 153282 [details]
ATSUI,v1
Comment 2 Robert Sesek 2012-07-19 10:08:31 PDT
Created attachment 153287 [details]
ColorSpaceWarnings,v1
Comment 3 Robert Sesek 2012-07-19 10:10:12 PDT
Jeremy: Please review ATSUI,v1 patch to disable ATSUI support on Chromium WebKit. This should not be needed now that downstream does not support 10.5.

Mark: Please review ColorSpaceWarnings,v1 to disable #pragmas for a deprecated symbol for which there is no replacement.
Comment 4 Eric Seidel (no email) 2012-07-19 15:23:23 PDT
Comment on attachment 153282 [details]
ATSUI,v1

Great!  Won't we need to update our pixel results?
Comment 5 Eric Seidel (no email) 2012-07-19 15:23:40 PDT
You should probably CC the current gardener.
Comment 6 Eric Seidel (no email) 2012-07-19 15:24:41 PDT
Comment on attachment 153287 [details]
ColorSpaceWarnings,v1

What does the Mac port do?  Why don't they run into this?
Comment 7 Robert Sesek 2012-07-19 16:15:10 PDT
(In reply to comment #6)
> (From update of attachment 153287 [details])
> What does the Mac port do?  Why don't they run into this?

As far as I could find, they don't have an equivalent to WebKit::WebScreenInfo.isMonochrome implemented on Mac.
Comment 8 Robert Sesek 2012-07-19 16:20:00 PDT
(In reply to comment #4)
> (From update of attachment 153282 [details])
> Great!  Won't we need to update our pixel results?

I don't *think* so because only 10.5 should have been using the ATSUI path, and we shouldn't have any testers on 10.5 anymore. I think 10.6 and above would all be using CoreText for font layout. I tried running locally, but I'm on 10.8 now so it's hard to tell if any of the pixel tests are wrong because they changed the subpixel rendering in this version.
Comment 9 WebKit Review Bot 2012-07-19 16:32:16 PDT
Comment on attachment 153282 [details]
ATSUI,v1

Clearing flags on attachment: 153282

Committed r123161: <http://trac.webkit.org/changeset/123161>
Comment 10 Eric Seidel (no email) 2012-07-19 16:49:10 PDT
Comment on attachment 153287 [details]
ColorSpaceWarnings,v1

It seems CGGetColorSpaceModel is your replacement: https://developer.apple.com/library/mac/#documentation/graphicsimaging/reference/CGColorSpace/Reference/reference.html

At least that's what a quick search lead me to.
Comment 11 Eric Seidel (no email) 2012-07-19 16:49:41 PDT
CGColorSpaceGetModel, rather.
Comment 12 Eric Seidel (no email) 2012-07-19 21:34:58 PDT
You'll have to upload again, your attachment was lost during the window with the failed migration.
Comment 13 Robert Sesek 2012-07-20 08:29:53 PDT
Created attachment 153509 [details]
ColorSpaceWarnings,v2
Comment 14 Eric Seidel (no email) 2012-07-20 13:48:27 PDT
Comment on attachment 153509 [details]
ColorSpaceWarnings,v2

Do we need to wrap this all in some sort of exception safely? since this is obj-c in c++?  I know we do similar things in WebKit Mac.
Comment 15 Robert Sesek 2012-07-20 13:51:04 PDT
No, this doesn't throw ObjC exceptions, which also are different than C++ exceptions.
Comment 16 WebKit Review Bot 2012-07-20 14:01:46 PDT
Comment on attachment 153509 [details]
ColorSpaceWarnings,v2

Clearing flags on attachment: 153509

Committed r123256: <http://trac.webkit.org/changeset/123256>
Comment 17 WebKit Review Bot 2012-07-20 14:01:50 PDT
All reviewed patches have been landed.  Closing bug.
Comment 18 Jeremy Moskovich 2012-07-22 04:18:53 PDT
Robert: Thanks for looking into this!!

Do you want to file another bug for the ATSUI removal or reopen this one?  Are there any other ports that still use ATSUI?  (Looks like there aren't, but we probably want to check with Mitz).

If not then it'd probably be good to just get rid of all the code and the flag entirely.
Comment 19 Jeremy Moskovich 2012-07-25 02:33:39 PDT
For future reference, mitz obsolted ATSUI in r123181 .