RESOLVED FIXED 101851
Including <CoreText/CoreText.h> breaks the chromium/mac build.
https://bugs.webkit.org/show_bug.cgi?id=101851
Summary Including <CoreText/CoreText.h> breaks the chromium/mac build.
WebKit Review Bot
Reported 2012-11-10 14:41:19 PST
http://trac.webkit.org/changeset/134146 broke the build: Including <CoreText/CoreText.h> breaks the chromium/mac build. (Requested by mkwst on #webkit). This is an automatic bug report generated by the sheriff-bot. If this bug report was created because of a flaky test, please file a bug for the flaky test (if we don't already have one on file) and dup this bug against that bug so that we can track how often these flaky tests case pain. "Only you can prevent forest fires." -- Smokey the Bear
Attachments
ROLLOUT of r134146 (7.83 KB, patch)
2012-11-10 14:41 PST, WebKit Review Bot
no flags
Patch (1.54 KB, patch)
2012-11-10 15:01 PST, Mike West
no flags
Patch (2.39 KB, patch)
2012-11-10 15:12 PST, Mike West
no flags
WebKit Review Bot
Comment 1 2012-11-10 14:41:57 PST
Created attachment 173476 [details] ROLLOUT of r134146 Any committer can land this patch automatically by marking it commit-queue+. The commit-queue will build and test the patch before landing to ensure that the rollout will be successful. This process takes approximately 15 minutes. If you would like to land the rollout faster, you can use the following command: webkit-patch land-attachment ATTACHMENT_ID where ATTACHMENT_ID is the ID of this attachment.
mitz
Comment 2 2012-11-10 14:47:53 PST
Comment on attachment 173476 [details] ROLLOUT of r134146 Please post a sensible patch, such as one reverting only the #include directive.
Mike West
Comment 3 2012-11-10 14:54:51 PST
Hi! I did look for you on #webkit before requesting the rollout, and chromium/mac hasn't built in the last ~20 hours. I don't think rolling the patch out would have been unreasonable. (In reply to comment #2) > (From update of attachment 173476 [details]) > Please post a sensible patch, such as one reverting only the #include directive. If I knew what I was doing in this area of the code, I would have. :) I got a pointer on the channel in a direction that looks good, though. If it ends up working, I'll post a patch here.
Mike West
Comment 4 2012-11-10 15:01:18 PST
Mike West
Comment 5 2012-11-10 15:02:31 PST
(In reply to comment #4) > Created an attachment (id=173478) [details] > Patch This compiles locally, but it's copy/paste cargo-culting. Hopefully it's also correct. :)
mitz
Comment 6 2012-11-10 15:02:45 PST
Comment on attachment 173478 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173478&action=review > Source/WebCore/platform/graphics/mac/SimpleFontDataCoreText.cpp:34 > +#if PLATFORM(WX) || PLATFORM(CHROMIUM) > +#include <ApplicationServices/ApplicationServices.h> > +#else > #include <CoreText/CoreText.h> > +#endif This is not necessary. ApplicationServices.h can be used everywhere.
Mike West
Comment 7 2012-11-10 15:06:10 PST
(In reply to comment #6) > (From update of attachment 173478 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=173478&action=review > > > Source/WebCore/platform/graphics/mac/SimpleFontDataCoreText.cpp:34 > > +#if PLATFORM(WX) || PLATFORM(CHROMIUM) > > +#include <ApplicationServices/ApplicationServices.h> > > +#else > > #include <CoreText/CoreText.h> > > +#endif > > This is not necessary. ApplicationServices.h can be used everywhere. I've copied it out of http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.mm. I'll fix that file as well.
Mike West
Comment 8 2012-11-10 15:12:03 PST
WebKit Review Bot
Comment 9 2012-11-10 15:36:35 PST
Comment on attachment 173479 [details] Patch Clearing flags on attachment: 173479 Committed r134165: <http://trac.webkit.org/changeset/134165>
WebKit Review Bot
Comment 10 2012-11-10 15:36:40 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.