WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127471
[iOS] [WK2] WKContentView has a black background
https://bugs.webkit.org/show_bug.cgi?id=127471
Summary
[iOS] [WK2] WKContentView has a black background
Tim Horton
Reported
2014-01-23 01:15:16 PST
... which is frequently exposed during loading. It shouldn't be black (it shouldn't need a background at all!). <
rdar://problem/12287363
>
Attachments
patch
(2.17 KB, patch)
2014-01-23 01:19 PST
,
Tim Horton
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2014-01-23 01:19:25 PST
Created
attachment 221961
[details]
patch
Ian Henderson
Comment 2
2014-01-23 02:20:06 PST
Comment on
attachment 221961
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=221961&action=review
> Source/WebKit2/UIProcess/API/ios/WKContentView.mm:52 > +@end
Is this how we deal with private headers on the Mac? Why even include the private header if we're going to make this category?
Sam Weinig
Comment 3
2014-01-23 07:44:16 PST
Comment on
attachment 221961
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=221961&action=review
>> Source/WebKit2/UIProcess/API/ios/WKContentView.mm:52 >> +@end > > Is this how we deal with private headers on the Mac? Why even include the private header if we're going to make this category?
I think we usually do the category as an #else clause.
Sam Weinig
Comment 4
2014-01-23 07:45:11 PST
(In reply to
comment #3
)
> (From update of
attachment 221961
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=221961&action=review
> > >> Source/WebKit2/UIProcess/API/ios/WKContentView.mm:52 > >> +@end > > > > Is this how we deal with private headers on the Mac? Why even include the private header if we're going to make this category? > > I think we usually do the category as an #else clause.
Oh, and reason we do it is to catch errors for people who have the header.
Tim Horton
Comment 5
2014-01-23 08:58:28 PST
(In reply to
comment #4
)
> (In reply to
comment #3
) > > (From update of
attachment 221961
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=221961&action=review
> > > > >> Source/WebKit2/UIProcess/API/ios/WKContentView.mm:52 > > >> +@end > > > > > > Is this how we deal with private headers on the Mac? Why even include the private header if we're going to make this category? > > > > I think we usually do the category as an #else clause. > > Oh, and reason we do it is to catch errors for people who have the header.
Exactly. If we put it in an #else, we wouldn't (as readily) catch signature changes. I think the only case we use a #else is if we need to magic the class itself into existence (when the class itself is also private).
Anders Carlsson
Comment 6
2014-01-23 10:10:26 PST
Comment on
attachment 221961
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=221961&action=review
> Source/WebKit2/UIProcess/API/ios/WKContentView.mm:46 > +#if defined(__has_include) && __has_include(<QuartzCore/QuartzCorePrivate.h>)
Do we really need the #if defined(__has_include) part here?
Tim Horton
Comment 7
2014-01-23 10:40:02 PST
(In reply to
comment #6
)
> (From update of
attachment 221961
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=221961&action=review
> > > Source/WebKit2/UIProcess/API/ios/WKContentView.mm:46 > > +#if defined(__has_include) && __has_include(<QuartzCore/QuartzCorePrivate.h>) > > Do we really need the #if defined(__has_include) part here?
I don’t think we do anymore (or maybe ever?)
Tim Horton
Comment 8
2014-01-23 10:47:49 PST
http://trac.webkit.org/changeset/162626
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