[iOS] Upstream gtest
<http://webkit.org/b/126811>

Reviewed by Mark Rowe.

* gtest/xcode/Config/General.xcconfig: Include iOS.xcconfig.
* gtest/xcode/Config/iOS.xcconfig: Added.
* gtest/xcode/gtest.xcodeproj/project.pbxproj: Add iOS.xcconfig.
Sort.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Work around USE(CFNETWORK) build failure on iOS.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForResponseToAuthenticationChallenge):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unfork GraphicsContext::drawNativeImage for iOS
https://bugs.webkit.org/show_bug.cgi?id=126824

Reviewed by Dean Jackson.

GraphicsContext::drawNativeImage had a different signature for iOS,
which required #ifdefs at all the call sites. Unfork by passing the "scale"
parameter everywhere (it's only used on iOS).

Source/WebCore:

* WebCore.exp.in:
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawImage):
* platform/graphics/GraphicsContext.h:
* platform/graphics/cg/BitmapImageCG.cpp:
(WebCore::BitmapImage::draw):
* platform/graphics/cg/GraphicsContext3DCG.cpp:
(WebCore::GraphicsContext3D::paintToCanvas):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformInit):
* platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::ImageBuffer::draw):
* platform/graphics/ios/IconIOS.mm:
(WebCore::Icon::paint):

Source/WebKit2:

* Shared/API/c/cg/WKImageCG.cpp:
(WKImageCreateFromCGImage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix updateScrollingLayerWithClient() for iOS.

* rendering/RenderLayerCompositor.cpp:
(WebCore::updateScrollingLayerWithClient):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161780 268f45cc-cd09-0410-ab3c-d52691b4dbfc