Reviewed by Darin.
Move the undef try/catch to WebKitPrfix.h and include algorithm so we get
exception_defines.h and so the undef of try/catch works.
Break off the BGRA to ARGB code into WebGraphicsExtras.c, this lets
WebBaseNetscapePluginView.m safely compile as ObjC++ and not cause the Accelerate
framework to complain about C++ exceptions being disabled.
* Misc/WebGraphicsExtras.c: Added.
(WebConvertBGRAToARGB):
* Misc/WebGraphicsExtras.h: Added.
* Plugins/WebBaseNetscapePluginView.m:
(-[WebBaseNetscapePluginView _aglOffscreenImageForDrawingInRect:]):
* WebKit.xcodeproj/project.pbxproj:
* WebKitPrefix.h:
* WebView/WebView.m:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17228
268f45cc-cd09-0410-ab3c-
d52691b4dbfc