Use tighter InlineBox subtypes in some places.
<https://webkit.org/b/123980>

RenderLineBreak and RenderBox line box wrappers are always going to
be InlineElementBox, so codify this with tighter types. Also made
the various positionLine() functions take tighter reference types.

All the casting to renderer-appropriate box types happens inside of
RenderBlockFlow::computeBlockDirectionPositionsForLine() and
propagates from there.

Reviewed by Antti Koivisto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[AX] Use toAccessibilityTable() instead of using manual static_cast<>
https://bugs.webkit.org/show_bug.cgi?id=123982

Reviewed by Mario Sanchez Prada.

Though there is toAccessibilityTable(), static_cast<> are being used by many places.
We need to use toAccessibilityTable().

No new tests, no behavior changes.

* accessibility/AccessibilityARIAGridRow.cpp:
(WebCore::AccessibilityARIAGridRow::disclosedRows):
(WebCore::AccessibilityARIAGridRow::disclosedByRow):
* accessibility/AccessibilityTableHeaderContainer.cpp:
(WebCore::AccessibilityTableHeaderContainer::addChildren):
* accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
(cell):
(cellAtIndex):
(webkitAccessibleTableGetIndexAt):
(webkitAccessibleTableGetNColumns):
(webkitAccessibleTableGetNRows):
(webkitAccessibleTableGetColumnHeader):
(webkitAccessibleTableGetRowHeader):
* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper tableParent]):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[AX] Use toAccessibilityRenderObject() instead of using static_cast<>
https://bugs.webkit.org/show_bug.cgi?id=123986

Reviewed by Mario Sanchez Prada.

Though there is toAccessibilityRenderObject(), static_cast<> are being used by many places.
To use toAccessibilityRenderObject() is more helpful to find bad type cast.

No new tests, no behavior changes.

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::notificationPostTimerFired):
* accessibility/AccessibilityImageMapLink.cpp:
(WebCore::AccessibilityImageMapLink::imageMapLinkRenderer):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::handleActiveDescendantChanged):
(WebCore::AccessibilityRenderObject::inheritsPresentationalRole):
* accessibility/ios/AccessibilityObjectIOS.mm:
(WebCore::AccessibilityObject::accessibilityPasswordFieldLength):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(AXAttributeStringSetElement):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Efl] Disable LTO when building cairo
https://bugs.webkit.org/show_bug.cgi?id=123947

Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-11-07
Reviewed by Gyuyoung Kim.

Cairo always uses LTO, when it detects compiler support.
LTO is buggy in many/all versions of GCC and shouldn't be enabled by
default. This patch disables LTO when building cairo library.
- See: https://bugs.freedesktop.org/show_bug.cgi?id=60852

With gcc 4.7.3, for example, the build fails with the following message:
'lto1: fatal error: LTO_tags out of range: Range is 0 to 361, value is 15872'

* efl/jhbuild.modules:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, Add new baselines to EFL port since r158743 as well as do rebaseline.
Because r158743 didn't update EFL port.

* platform/efl/fullscreen/video-controls-override-expected.txt: Added.
* platform/efl/http/tests/media/video-cookie-expected.txt: Added.
* platform/efl/media/W3C/video/canPlayType/canPlayType_codecs_order_1-expected.txt:
* platform/efl/media/W3C/video/canPlayType/canPlayType_codecs_order_2-expected.txt: Added.
* platform/efl/media/W3C/video/canPlayType/canPlayType_codecs_order_3-expected.txt: Added.
* platform/efl/media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_1-expected.txt:
* platform/efl/media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_2-expected.txt: Added.
* platform/efl/media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_3-expected.txt: Added.
* platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_1-expected.txt:
* platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_2-expected.txt:
* platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_3-expected.txt: Added.
* platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_4-expected.txt: Added.
* platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_5-expected.txt: Added.
* platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_6-expected.txt: Added.
* platform/efl/media/context-menu-actions-expected.txt: Added.
* platform/efl/media/media-can-play-flac-audio-expected.txt: Added.
* platform/efl/media/media-can-play-webm-expected.txt: Added.
* platform/efl/media/media-volume-slider-rendered-below-expected.txt: Added.
* platform/efl/media/media-volume-slider-rendered-normal-expected.txt: Added.
* platform/efl/media/track/audio/audio-track-mkv-vorbis-addtrack-expected.txt: Added.
* platform/efl/media/track/audio/audio-track-mkv-vorbis-enabled-expected.txt: Added.
* platform/efl/media/track/track-cue-mutable-text-expected.txt: Added.
* platform/efl/media/track/track-cue-rendering-mode-changed-expected.txt: Added.
* platform/efl/media/track/track-language-preference-expected.txt: Added.
* platform/efl/media/track/video/video-track-mkv-theora-addtrack-expected.txt: Added.
* platform/efl/media/track/video/video-track-mkv-theora-selected-expected.txt: Added.
* platform/efl/media/video-controls-fullscreen-volume-expected.txt: Added.
* platform/efl/media/video-controls-toggling-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening. Expectations are finally the same for
WK1 and WK2 so, besides needing a rebaseline, we now can share them.

* platform/gtk-wk1/accessibility/table-attributes-expected.txt: Removed.
* platform/gtk-wk1/accessibility/table-sections-expected.txt: Removed.
* platform/gtk/accessibility/table-attributes-expected.txt: Renamed from LayoutTests/platform/gtk-wk2/accessibility/table-attributes-expected.txt.
* platform/gtk/accessibility/table-sections-expected.txt: Renamed from LayoutTests/platform/gtk-wk2/accessibility/table-sections-expected.txt.

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