As discussed in https://bugs.webkit.org/show_bug.cgi?id=85758#c12
Note that WEBKIT_USING_CG and WEBKIT_USING_SKIA are defined in WebCommon.h. I don't think we can delete those yet, since they're used in chromium code, but I'm working on removing those on the chromium side.
To be clear: we can delete the code behind the WEBKIT_USING_CG ifdef, but we can't delete the definition of the ifdef in WebCommon.h yet?
Right.
After https://chromiumcodereview.appspot.com/10392018/ lands and rolls, it should be safe to delete the definition of WEBKIT_USING_CG completely. I'll do a follow-on that removes the need to define WEBKIT_USING_SKIA
Created attachment 141158 [details] Patch
Removes all dead code behind WEBKIT_USING_CG. Does not touch WebCommon.h.
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment on attachment 141158 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=141158&action=review > Source/WebKit/chromium/README:42 > WEBKIT_USING_JSC is defined when using JSC as the JavaScript library. Seems this one could also be retired. :)
Comment on attachment 141158 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=141158&action=review > Source/Platform/chromium/public/WebImage.h:36 > #if WEBKIT_USING_SKIA I wonder if we can remove all these ifdefs too since this should now always be true.
Comment on attachment 141158 [details] Patch Clearing flags on attachment: 141158 Committed r116666: <http://trac.webkit.org/changeset/116666>
All reviewed patches have been landed. Closing bug.
Filed bug 86121 for WEBKIT_USING_SKIA.