WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
91752
[chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
https://bugs.webkit.org/show_bug.cgi?id=91752
Summary
[chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
Robert Sesek
Reported
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.
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
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Robert Sesek
Comment 1
2012-07-19 09:51:28 PDT
Created
attachment 153282
[details]
ATSUI,v1
Robert Sesek
Comment 2
2012-07-19 10:08:31 PDT
Created
attachment 153287
[details]
ColorSpaceWarnings,v1
Robert Sesek
Comment 3
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.
Eric Seidel (no email)
Comment 4
2012-07-19 15:23:23 PDT
Comment on
attachment 153282
[details]
ATSUI,v1 Great! Won't we need to update our pixel results?
Eric Seidel (no email)
Comment 5
2012-07-19 15:23:40 PDT
You should probably CC the current gardener.
Eric Seidel (no email)
Comment 6
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?
Robert Sesek
Comment 7
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.
Robert Sesek
Comment 8
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.
WebKit Review Bot
Comment 9
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
>
Eric Seidel (no email)
Comment 10
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.
Eric Seidel (no email)
Comment 11
2012-07-19 16:49:41 PDT
CGColorSpaceGetModel, rather.
Eric Seidel (no email)
Comment 12
2012-07-19 21:34:58 PDT
You'll have to upload again, your attachment was lost during the window with the failed migration.
Robert Sesek
Comment 13
2012-07-20 08:29:53 PDT
Created
attachment 153509
[details]
ColorSpaceWarnings,v2
Eric Seidel (no email)
Comment 14
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.
Robert Sesek
Comment 15
2012-07-20 13:51:04 PDT
No, this doesn't throw ObjC exceptions, which also are different than C++ exceptions.
WebKit Review Bot
Comment 16
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
>
WebKit Review Bot
Comment 17
2012-07-20 14:01:50 PDT
All reviewed patches have been landed. Closing bug.
Jeremy Moskovich
Comment 18
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.
Jeremy Moskovich
Comment 19
2012-07-25 02:33:39 PDT
For future reference, mitz obsolted ATSUI in
r123181
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug