Crash when destroying WKInteractionView.
https://bugs.webkit.org/show_bug.cgi?id=127153
<rdar://problem/15840761>

Reviewed by Anders Carlsson.

UIWKSelectionAssistant is a RetainPtr and it is being 
deallocated after the view and its gesture recognizers
have been destroyed.
The parent class UIWebSelectionAssistant assumes to be
deallocated before the view is gone.
We deallocate the interaction assistants explicitly to
fix the problem.

* UIProcess/API/ios/WKInteractionView.mm:
(-[WKInteractionView dealloc]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Compile fix for WinCairo after r162138.
https://bugs.webkit.org/show_bug.cgi?id=127140

Patch by Alex Christensen <achristensen@webkit.org> on 2014-01-16
Reviewed by Beth Dakin.

* page/FrameView.cpp:
(WebCore::FrameView::extendedBackgroundRect):
Use unscaledDocumentRect for extendedBackgroundRect without accelerated compositing.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Build Fix: Use standard architectures when building for iOS

Even though we don't use the plug-in services on iOS, we still need
them to build (we won't install them). Be sure we specify valid iOS
architectures when doing so.

* Configurations/PluginService.32.xcconfig:
* Configurations/PluginService.64.xcconfig:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r162145): media/video-controls-visible-audio-only.html fails
https://bugs.webkit.org/show_bug.cgi?id=127147

Source/WebCore:

Reviewed by Eric Carlson.

Reset the MediaSessionManager's restrictions to their default values before
each run.

Add a new virtual method "resetRestrictions()" so that each port-specific
MediaSessionManager can reset the restrictions to their default values.
Call this from Internals::resetToConsistentState() so that tests which change
the restrictions don't affect later tests.

* platform/audio/MediaSessionManager.cpp:
(WebCore::MediaSessionManager::MediaSessionManager):
(WebCore::MediaSessionManager::resetRestrictions):
* platform/audio/MediaSessionManager.h:
(WebCore::MediaSessionManager::~MediaSessionManager):
* platform/audio/ios/MediaSessionManagerIOS.h:
* platform/audio/ios/MediaSessionManagerIOS.mm:
(WebCore::MediaSessionManageriOS::resetRestrictions):
* testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState):

LayoutTests:

Re-enable media/video-controls-visible-audio-only.html.

Reviewed by Eric Carlson.

* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162178 268f45cc-cd09-0410-ab3c-d52691b4dbfc
platform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityController::removeNotificationListener
https://bugs.webkit.org/show_bug.cgi?id=127141

Reviewed by Alexey Proskuryakov.

Don't assert that the notification handler needs to be cleaned up. Deallocing the controller should be enough to clean up as it is.

* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::~AccessibilityController):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Run clang-modernize and let it add a bunch of missing overrides.

Rubber-stamped by Sam Weinig.

* dom/BeforeLoadEvent.h:
* dom/ClassNodeList.h:
* dom/Comment.h:
* dom/CompositionEvent.h:
* dom/DecodedDataDocumentParser.h:
* dom/DeviceMotionEvent.h:
* dom/DeviceOrientationEvent.h:
* dom/DocumentMarker.cpp:
* dom/DocumentType.h:
* dom/EntityReference.h:
* dom/FocusEvent.h:
* dom/HashChangeEvent.h:
* dom/MessageEvent.h:
* dom/MouseEvent.h:
* dom/MouseRelatedEvent.h:
* dom/MutationEvent.h:
* dom/NameNodeList.h:
* dom/Notation.h:
* dom/OverflowEvent.h:
* dom/PendingScript.h:
* dom/PopStateEvent.h:
* dom/ProcessingInstruction.h:
* dom/ScriptElement.h:
* dom/ScriptExecutionContext.cpp:
* dom/ScriptableDocumentParser.h:
* dom/ScriptedAnimationController.h:
* dom/StringCallback.cpp:
* dom/WheelEvent.h:
* html/FTPDirectoryDocument.h:
* html/FileInputType.cpp:
* html/HTMLAppletElement.h:
* html/HTMLBRElement.h:
* html/HTMLBaseElement.h:
* html/HTMLBodyElement.h:
* html/HTMLButtonElement.h:
* html/HTMLDocument.h:
* html/HTMLEmbedElement.h:
* html/HTMLFormControlsCollection.h:
* html/HTMLFrameElement.h:
* html/HTMLFrameSetElement.h:
* html/HTMLHRElement.h:
* html/HTMLIFrameElement.h:
* html/HTMLKeygenElement.cpp:
* html/HTMLKeygenElement.h:
* html/HTMLLinkElement.h:
* html/HTMLMarqueeElement.h:
* html/HTMLObjectElement.h:
* html/HTMLOutputElement.h:
* html/HTMLParamElement.h:
* html/HTMLScriptElement.h:
* html/HTMLStyleElement.h:
* html/HTMLSummaryElement.h:
* html/HTMLTrackElement.h:
* html/HTMLViewSourceDocument.h:
* html/ImageDocument.cpp:
* html/ImageDocument.h:
* html/MediaDocument.cpp:
* html/MediaDocument.h:
* html/MediaKeyEvent.h:
* html/PluginDocument.cpp:
* html/RadioNodeList.h:
* html/TextDocument.h:
* html/canvas/EXTDrawBuffers.h:
* html/canvas/EXTTextureFilterAnisotropic.h:
* html/canvas/OESElementIndexUint.h:
* html/canvas/OESStandardDerivatives.h:
* html/canvas/OESTextureFloat.h:
* html/canvas/OESTextureFloatLinear.h:
* html/canvas/OESTextureHalfFloat.h:
* html/canvas/OESTextureHalfFloatLinear.h:
* html/canvas/OESVertexArrayObject.h:
* html/canvas/WebGLBuffer.h:
* html/canvas/WebGLCompressedTextureATC.h:
* html/canvas/WebGLCompressedTexturePVRTC.h:
* html/canvas/WebGLCompressedTextureS3TC.h:
* html/canvas/WebGLContextEvent.h:
* html/canvas/WebGLContextObject.h:
* html/canvas/WebGLDebugRendererInfo.h:
* html/canvas/WebGLDebugShaders.h:
* html/canvas/WebGLDepthTexture.h:
* html/canvas/WebGLFramebuffer.cpp:
* html/canvas/WebGLFramebuffer.h:
* html/canvas/WebGLLoseContext.h:
* html/canvas/WebGLProgram.h:
* html/canvas/WebGLRenderbuffer.h:
* html/canvas/WebGLRenderingContext.cpp:
* html/canvas/WebGLRenderingContext.h:
* html/canvas/WebGLShader.h:
* html/canvas/WebGLSharedObject.h:
* html/canvas/WebGLTexture.h:
* html/canvas/WebGLVertexArrayObjectOES.h:
* html/parser/HTMLDocumentParser.h:
* html/parser/HTMLViewSourceParser.h:
* html/shadow/DetailsMarkerControl.h:
* html/shadow/MediaControls.h:
* html/shadow/MediaControlsApple.h:
* html/shadow/MeterShadowElement.h:
* html/shadow/ProgressShadowElement.h:
* html/shadow/SliderThumbElement.h:
* html/track/LoadableTextTrack.h:
* html/track/TrackEvent.h:
* svg/SVGAElement.h:
* svg/SVGAnimateColorElement.h:
* svg/SVGAnimateElement.h:
* svg/SVGAnimateMotionElement.h:
* svg/SVGAnimateTransformElement.h:
* svg/SVGAnimationElement.h:
* svg/SVGCircleElement.h:
* svg/SVGClipPathElement.h:
* svg/SVGComponentTransferFunctionElement.h:
* svg/SVGCursorElement.h:
* svg/SVGDefsElement.h:
* svg/SVGDescElement.h:
* svg/SVGEllipseElement.h:
* svg/SVGFEBlendElement.h:
* svg/SVGFEColorMatrixElement.h:
* svg/SVGFEComponentTransferElement.h:
* svg/SVGFECompositeElement.h:
* svg/SVGFEConvolveMatrixElement.h:
* svg/SVGFEDiffuseLightingElement.h:
* svg/SVGFEDisplacementMapElement.h:
* svg/SVGFEDistantLightElement.h:
* svg/SVGFEDropShadowElement.h:
* svg/SVGFEFloodElement.h:
* svg/SVGFEGaussianBlurElement.h:
* svg/SVGFEImageElement.h:
* svg/SVGFELightElement.h:
* svg/SVGFEMergeElement.h:
* svg/SVGFEMergeNodeElement.h:
* svg/SVGFEMorphologyElement.h:
* svg/SVGFEOffsetElement.h:
* svg/SVGFEPointLightElement.h:
* svg/SVGFESpecularLightingElement.h:
* svg/SVGFESpotLightElement.h:
* svg/SVGFETileElement.h:
* svg/SVGFETurbulenceElement.h:
* svg/SVGFilterElement.h:
* svg/SVGFilterPrimitiveStandardAttributes.h:
* svg/SVGFontData.h:
* svg/SVGForeignObjectElement.h:
* svg/SVGGlyphElement.h:
* svg/SVGGlyphRefElement.h:
* svg/SVGGradientElement.h:
* svg/SVGHKernElement.h:
* svg/SVGImageElement.h:
* svg/SVGImageLoader.h:
* svg/SVGLineElement.h:
* svg/SVGLinearGradientElement.h:
* svg/SVGMPathElement.h:
* svg/SVGMarkerElement.h:
* svg/SVGMaskElement.h:
* svg/SVGMissingGlyphElement.h:
* svg/SVGPathBuilder.h:
* svg/SVGPathByteStreamBuilder.h:
* svg/SVGPathByteStreamSource.h:
* svg/SVGPathElement.h:
* svg/SVGPathSegArcAbs.h:
* svg/SVGPathSegArcRel.h:
* svg/SVGPathSegClosePath.h:
* svg/SVGPathSegCurvetoCubicAbs.h:
* svg/SVGPathSegCurvetoCubicRel.h:
* svg/SVGPathSegCurvetoCubicSmoothAbs.h:
* svg/SVGPathSegCurvetoCubicSmoothRel.h:
* svg/SVGPathSegCurvetoQuadraticAbs.h:
* svg/SVGPathSegCurvetoQuadraticRel.h:
* svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
* svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
* svg/SVGPathSegLinetoAbs.h:
* svg/SVGPathSegLinetoHorizontalAbs.h:
* svg/SVGPathSegLinetoHorizontalRel.h:
* svg/SVGPathSegLinetoRel.h:
* svg/SVGPathSegLinetoVerticalAbs.h:
* svg/SVGPathSegLinetoVerticalRel.h:
* svg/SVGPathSegListBuilder.h:
* svg/SVGPathSegListSource.h:
* svg/SVGPathSegMovetoAbs.h:
* svg/SVGPathSegMovetoRel.h:
* svg/SVGPathStringSource.h:
* svg/SVGPathTraversalStateBuilder.h:
* svg/SVGPatternElement.h:
* svg/SVGPolyElement.h:
* svg/SVGRadialGradientElement.h:
* svg/SVGRectElement.h:
* svg/SVGSVGElement.h:
* svg/SVGScriptElement.h:
* svg/SVGStopElement.h:
* svg/SVGStyleElement.h:
* svg/SVGSwitchElement.h:
* svg/SVGSymbolElement.h:
* svg/SVGTRefElement.h:
* svg/SVGTSpanElement.h:
* svg/SVGTextContentElement.h:
* svg/SVGTextElement.h:
* svg/SVGTextPathElement.h:
* svg/SVGTextPositioningElement.h:
* svg/SVGTitleElement.h:
* svg/SVGUseElement.h:
* svg/SVGVKernElement.h:
* svg/SVGViewElement.h:
* svg/SVGZoomEvent.h:
* svg/animation/SVGSMILElement.cpp:
* svg/animation/SVGSMILElement.h:
* svg/graphics/SVGImageChromeClient.h:
* svg/graphics/filters/SVGFEImage.h:
* svg/graphics/filters/SVGFilter.h:
* svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
* svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
* svg/properties/SVGPathSegListPropertyTearOff.h:

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