Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.
Remove the WebKit layer of the Blackberry port
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* blackberry: Removed.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Attempt to fix the Mountain Lion Release (32-bit) build following <http://trac.webkit.org/changeset/161589>
(https://bugs.webkit.org/show_bug.cgi?id=126654)

* platform/ios/WebEvent.h:
* platform/ios/WebEvent.mm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
History::StateObjectType should be a strong enum
https://bugs.webkit.org/show_bug.cgi?id=126725

Reviewed by Beth Dakin.

* bindings/js/JSHistoryCustom.cpp:
(WebCore::JSHistory::pushState):
(WebCore::JSHistory::replaceState):
* loader/HistoryController.cpp:
(WebCore::HistoryController::pushState):
* page/History.cpp:
(WebCore::History::stateObjectAdded):
* page/History.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix a copy-paste mistake in an include guard.

Rubber-stamped by Sam Weinig.

* crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove blackberry from WebCore/platform
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* platform/blackberry: Removed.
* platform/graphics/blackberry: Removed.
* platform/graphics/filters/blackberry: Removed.
* platform/image-decoders/blackberry: Removed.
* platform/mediastream/blackberry: Removed.
* platform/network/blackberry: Removed.
* platform/text/blackberry: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Attempt to fix the Windows build following <http://trac.webkit.org/changeset/161589>
(https://bugs.webkit.org/show_bug.cgi?id=126654)

For some reason, the Windows build is unhappy that NeverDestroyed<FontCache> calls the private constructor
FontCache::FontCache() despite being a friend class of FontCache. Use DEFINE_STATIC_LOCAL instead of
NeverDestroyed<> for now. I'll look to investigate this issue offline.

* platform/graphics/FontCache.cpp:
(WebCore::fontCache):
* platform/graphics/FontCache.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove Blackberry and QNX bits from WTF
https://bugs.webkit.org/show_bug.cgi?id=126726

Reviewed by Benjamin Poulain.

* wtf/Assertions.cpp:
* wtf/Atomics.h:
* wtf/CurrentTime.cpp:
(WTF::currentCPUTime):
* wtf/DateMath.cpp:
* wtf/DisallowCType.h:
* wtf/FeatureDefines.h:
* wtf/InlineASM.h:
* wtf/MathExtras.h:
* wtf/NumberOfCores.cpp:
(WTF::numberOfProcessorCores):
* wtf/OSAllocatorPosix.cpp:
(WTF::OSAllocator::reserveUncommitted):
(WTF::OSAllocator::commit):
(WTF::OSAllocator::decommit):
* wtf/Platform.h:
* wtf/PlatformBlackBerry.cmake: Removed.
* wtf/RAMSize.cpp:
(WTF::computeRAMSize):
* wtf/StackBounds.cpp:
* wtf/ThreadingPthreads.cpp:
(WTF::initializeThreading):
(WTF::initializeCurrentThreadInternal):
* wtf/blackberry/MainThreadBlackBerry.cpp: Removed.
* wtf/blackberry/RunLoopBlackBerry.cpp: Removed.
* wtf/text/AtomicString.h:
* wtf/text/StringImpl.h:
* wtf/text/WTFString.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another attempt to fix the Windows build following <http://trac.webkit.org/changeset/161589>
(https://bugs.webkit.org/show_bug.cgi?id=126654)

* platform/network/cf/ResourceRequest.h: Always declare ResourceRequest::updateFromDelegatePreservingOldHTTPBody()
instead of only declaring it when building without CFNetwork.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] Upstream WAK
https://bugs.webkit.org/show_bug.cgi?id=126724

Reviewed by David Kilzer.

* Configurations/WebCore.xcconfig: Excluded new iOS-specific Private
headers on the Mac build.
* WebCore.xcodeproj/project.pbxproj: Added new files to the project.
* platform/ios/wak/WAKAppKitStubs.h: Added.
* platform/ios/wak/WAKAppKitStubs.m: Added.
* platform/ios/wak/WAKClipView.h: Added.
* platform/ios/wak/WAKClipView.m: Added.
* platform/ios/wak/WAKResponder.h: Added.
* platform/ios/wak/WAKResponder.m: Added.
* platform/ios/wak/WAKScrollView.h: Added.
* platform/ios/wak/WAKScrollView.mm: Added.
* platform/ios/wak/WAKView.h: Added.
* platform/ios/wak/WAKView.mm: Added.
* platform/ios/wak/WAKViewPrivate.h: Added.
* platform/ios/wak/WAKWindow.h: Added.
* platform/ios/wak/WAKWindow.mm: Added.
* platform/ios/wak/WKContentObservation.cpp: Added.
* platform/ios/wak/WKContentObservation.h: Added.
* platform/ios/wak/WKGraphics.h: Added.
* platform/ios/wak/WKGraphics.mm: Added.
* platform/ios/wak/WKTypes.h: Added.
* platform/ios/wak/WKUtilities.c: Added.
* platform/ios/wak/WKUtilities.h: Added.
* platform/ios/wak/WKView.h: Added.
* platform/ios/wak/WKView.mm: Added.
* platform/ios/wak/WKViewPrivate.h: Added.
* platform/ios/wak/WebCoreThread.h: Added.
* platform/ios/wak/WebCoreThread.mm: Added.
* platform/ios/wak/WebCoreThreadInternal.h: Added.
* platform/ios/wak/WebCoreThreadMessage.h: Added.
* platform/ios/wak/WebCoreThreadRun.cpp: Added.
* platform/ios/wak/WebCoreThreadRun.h: Added.
* platform/ios/wak/WebCoreThreadSafe.h: Added.
* platform/ios/wak/WebCoreThreadSystemInterface.cpp: Added.
* platform/ios/wak/WebCoreThreadSystemInterface.h: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shapes] First line gets incorrectly adjusted in shape-inside due to rounding
https://bugs.webkit.org/show_bug.cgi?id=126601

Reviewed by Bem Jones-Bey.

Source/WebCore:

In order to get consistent results of the first fit position of the content in shapes,
firstIncludedIntervalLogicalTop should take a FloatSize rather than LayoutSize for
minLogicalIntervalSize, because LayoutSize clamps the float value to int, when subpixel-layout
is disabled, thus firstIncludedIntervalLogicalTop could end up calculating with an unprecize
value. This change modifies firstIncludedIntervalLogicalTop to take FloatSize consistently.

Test: fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html

* rendering/shapes/BoxShape.cpp:
(WebCore::BoxShape::firstIncludedIntervalLogicalTop):
* rendering/shapes/BoxShape.h:
* rendering/shapes/PolygonShape.cpp:
(WebCore::PolygonShape::firstIncludedIntervalLogicalTop):
* rendering/shapes/PolygonShape.h:
* rendering/shapes/RasterShape.cpp:
(WebCore::RasterShape::firstIncludedIntervalLogicalTop):
* rendering/shapes/RasterShape.h:
* rendering/shapes/RectangleShape.cpp:
(WebCore::RectangleShape::firstIncludedIntervalLogicalTop):
* rendering/shapes/RectangleShape.h:
* rendering/shapes/Shape.h:
* rendering/shapes/ShapeInsideInfo.cpp:
(WebCore::ShapeInsideInfo::adjustLogicalLineTop):
(WebCore::ShapeInsideInfo::computeFirstFitPositionForFloat):

LayoutTests:

* fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WebGL] Return filtered results for getProgramParameter for ACTIVE_ATTRIBUTES and ACTIVE_UNIFORMS
https://bugs.webkit.org/show_bug.cgi?id=126718
<rdar://problem/15202048>

Reviewed by Dean Jackson.

Covered by webgl/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html and
webgl/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html.

* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::getActiveAttrib): Added loging.
(WebCore::WebGLRenderingContext::getActiveUniform): Added logging.
(WebCore::WebGLRenderingContext::getAttribLocation): Drive-by-fix. Return
-1 on link failure (an invalid location) rather than 0 (a valid
location) when link fails.
(WebCore::WebGLRenderingContext::getProgramParameter): Use new
method to return filtered count.
(WebCore::WebGLRenderingContext::getUniformLocation): Use nullptr
rather than returning 0.
* platform/graphics/GraphicsContext3D.h:
(WebCore::GraphicsContext3D::ActiveShaderSymbolCounts::ActiveShaderSymbolCounts):
(WebCore::GraphicsContext3D::ActiveShaderSymbolCounts::countForType):
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::precisionsMatch): Drive-by-fix. Don't
copy giant objects to read a single value.
(WebCore::GraphicsContext3D::compileShader): Release filtered count
when we change shader source code.
(WebCore::GraphicsContext3D::getActiveAttribImpl): Renamed from getActiveAttrib.
(WebCore::GraphicsContext3D::getActiveAttrib): Maps filtered indices to
real OpenGL indices.
(WebCore::GraphicsContext3D::getActiveUniformImpl): Renamed from getActiveUniform.
(WebCore::GraphicsContext3D::getActiveUniform): Maps filtered indices to
real OpenGL indices.
(WebCore::GraphicsContext3D::originalSymbolName): Use C++11 loop.
(WebCore::GraphicsContext3D::getAttribLocation): Added logging.
(WebCore::GraphicsContext3D::getNonBuiltinActiveSymbolCount): Added.
(WebCore::GraphicsContext3D::getShaderiv): Const correctness.
(WebCore::GraphicsContext3D::getShaderInfoLog): Ditto.
(WebCore::GraphicsContext3D::getShaderSource): Ditto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Upstream iOS changes after r161530
https://bugs.webkit.org/show_bug.cgi?id=126728

Reviewed by Dean Jackson.

* UIProcess/API/ios/WKContentView.mm:
(-[WKContentView setViewportSize:]):
(-[WKContentView didFinishScrollTo:]):
(-[WKContentView didScrollTo:]):
Adopt the new approach.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove remaining blackberry files I could find in WebCore
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* Resources/blackberry: Removed.
* css/mediaControlsBlackBerry.css: Removed.
* css/mediaControlsBlackBerryFullscreen.css: Removed.
* css/themeBlackBerry.css: Removed.
* editing/blackberry: Removed.
* history/blackberry: Removed.
* html/shadow/MediaControlsBlackBerry.cpp: Removed.
* html/shadow/MediaControlsBlackBerry.h: Removed.
* page/blackberry: Removed.
* page/scrolling/blackberry: Removed.
* plugins/blackberry: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
text-decoration-skip: ink does not work with line wraps
https://bugs.webkit.org/show_bug.cgi?id=126729

Reviewed by Simon Fraser.

Source/WebCore:

InlineTextBox's m_start and m_length fields are offsets into the renderer's string,
not the generated TextRun. Because of this distinction, when multiple InlineTextBoxes
were constructed for the same element, all the subsequent elements would use incorrect
indices and therefore not have skipping decorations.

Test: fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-multiline.html

* platform/graphics/Font.h:
* platform/graphics/mac/FontMac.mm:
(WebCore::Font::dashesForIntersectionsWithRect):
* rendering/InlineTextBox.cpp:
(WebCore::drawSkipInkUnderline):
(WebCore::InlineTextBox::paintDecoration):
* rendering/TextPainter.cpp:
(WebCore::TextPainter::dashesForIntersectionsWithRect):
* rendering/TextPainter.h:

LayoutTests:

This test compares rending of a single element that wraps lines with one element per line.
Both elements have text-decoration-skip:ink turned on.

* fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-multiline-expected.html: Added.
* fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-multiline.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: text-decoration-skip: ink does not work with line wraps
https://bugs.webkit.org/show_bug.cgi?id=126729

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2014-01-09
Reviewed by Simon Fraser.

InlineTextBox's m_start and m_length fields are offsets into the renderer's string,
not the generated TextRun. Because of this distinction, when multiple InlineTextBoxes
were constructed for the same element, all the subsequent elements would use incorrect
indices and therefore not have skipping decorations.

Test: fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-multiline.html

* platform/graphics/Font.h:
* platform/graphics/mac/FontMac.mm:
(WebCore::Font::dashesForIntersectionsWithRect):
* rendering/InlineTextBox.cpp:
(WebCore::drawSkipInkUnderline):
(WebCore::InlineTextBox::paintDecoration):
* rendering/TextPainter.cpp:
(WebCore::TextPainter::dashesForIntersectionsWithRect):
* rendering/TextPainter.h:

Source/WebKit2: Change Page, FocusController to use ViewState
https://bugs.webkit.org/show_bug.cgi?id=126533

Reviewed by Tim Horton.

These classes currently maintain a set of separate fields to represent the view state;
combine these into a single field, and allow WebPage to send the combined update rather
than individual changes.

Maintain existing interface for WebKit1 clients.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
    - Combined separate calls to Page::setViewState.
(WebKit::WebPage::updateIsInWindow):
    - Simplied from setIsInWindow.
(WebKit::WebPage::setViewState):
    - Combined separate calls to Page::setViewState.
* WebProcess/WebPage/WebPage.h:
    - Declare updateIsInWindow.



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