<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[184254] branches/safari-601.1.32-branch/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/184254">184254</a></dd>
<dt>Author</dt> <dd>dburkart@apple.com</dd>
<dt>Date</dt> <dd>2015-05-12 21:25:32 -0700 (Tue, 12 May 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Merge <a href="http://trac.webkit.org/projects/webkit/changeset/184104">r184104</a>. rdar://problem/20727702</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branchessafari601132branchSourceWebCoreChangeLog">branches/safari-601.1.32-branch/Source/WebCore/ChangeLog</a></li>
<li><a href="#branchessafari601132branchSourceWebCoreplatformgraphicsMaskImageOperationcpp">branches/safari-601.1.32-branch/Source/WebCore/platform/graphics/MaskImageOperation.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessafari601132branchSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/WebCore/ChangeLog (184253 => 184254)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/WebCore/ChangeLog        2015-05-13 04:17:20 UTC (rev 184253)
+++ branches/safari-601.1.32-branch/Source/WebCore/ChangeLog        2015-05-13 04:25:32 UTC (rev 184254)
</span><span class="lines">@@ -2,369 +2,374 @@
</span><span class="cx"> Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx"> dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-        Merge r184005. rdar://problem/20486538
</del><ins>+        Merge r184104. rdar://problem/20727702
</ins><span class="cx"> 
</span><del>-    2015-05-08  Alexey Proskuryakov  &lt;ap@apple.com&gt;
</del><ins>+    2015-05-11  Antti Koivisto  &lt;antti@apple.com&gt;
</ins><span class="cx"> 
</span><del>-            Crashes in SocketStreamHandleBase::close
-            https://bugs.webkit.org/show_bug.cgi?id=144767
-            rdar://problem/20486538
</del><ins>+            WebContent crash under com.apple.WebCore: WebCore::WebKitCSSResourceValue::isCSSValueNone const + 6
+            https://bugs.webkit.org/show_bug.cgi?id=144870
+            rdar://problem/20727702
</ins><span class="cx"> 
</span><del>-            Reviewed by Brady Eidson.
</del><ins>+            Reviewed by Simon Fraser.
</ins><span class="cx"> 
</span><del>-            This is a speculative fix, I could not reproduce the crash.
</del><ins>+            No repro but we are seeing null pointer crashes like this:
</ins><span class="cx"> 
</span><del>-            * Modules/websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::processFrame):
-            Normally, processOutgoingFrameQueue() closes the handle in the end when called in
-            OutgoingFrameQueueClosing state. But there is no definitive protection against
-            processing two CLOSE frames, in which case we'd try to close the handle twice.
</del><ins>+            Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
+            0   com.apple.WebCore   0x00007fff92da5706 WebCore::WebKitCSSResourceValue::isCSSValueNone() const + 6
+            1   com.apple.WebCore   0x00007fff93382b48 WebCore::MaskImageOperation::isCSSValueNone() const + 24
+            2   com.apple.WebCore   0x00007fff92e0475e WebCore::FillLayer::hasNonEmptyMaskImage() const + 30
</ins><span class="cx"> 
</span><del>-            * platform/network/cf/SocketStreamHandleCFNet.cpp:
-            (WebCore::SocketStreamHandle::readStreamCallback): Passing empty data to the client
-            results in the socket being closed, which makes no sense here.
</del><ins>+            * platform/graphics/MaskImageOperation.cpp:
+            (WebCore::MaskImageOperation::MaskImageOperation):
+            (WebCore::MaskImageOperation::isCSSValueNone):
</ins><span class="cx"> 
</span><ins>+                This would crash like this if both m_styleImage and m_cssMaskImageValue are null.
+                There are no obvious guarantees that this doesn't happen. Two of the constructor variants allow it
+                and there is setImage which may turn m_styleImage null later too.
+
+                Fix by making null m_cssMaskImageValue always signify CSSValueNone.
+
+            (WebCore::MaskImageOperation::cssValue):
+
</ins><span class="cx">     2015-05-12  Dana Burkart
</span><span class="cx">     Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx">     dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-            Merge r184001. rdar://problem/20862460
</del><ins>+            Merge r184005. rdar://problem/20486538
</ins><span class="cx"> 
</span><del>-        2015-05-08  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</del><ins>+        2015-05-08  Alexey Proskuryakov  &lt;ap@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                [Mac] Playback target clients do not unregister on page reload
-                https://bugs.webkit.org/show_bug.cgi?id=144761
</del><ins>+                Crashes in SocketStreamHandleBase::close
+                https://bugs.webkit.org/show_bug.cgi?id=144767
+                rdar://problem/20486538
</ins><span class="cx"> 
</span><span class="cx">                 Reviewed by Brady Eidson.
</span><span class="cx"> 
</span><del>-                * dom/Document.cpp:
-                (WebCore::Document::prepareForDestruction): Unregister all target picker clients.
</del><ins>+                This is a speculative fix, I could not reproduce the crash.
</ins><span class="cx"> 
</span><del>-                * html/HTMLMediaElement.cpp:
-                (WebCore::HTMLMediaElement::registerWithDocument): Register for page cache callback.
-                (WebCore::HTMLMediaElement::unregisterWithDocument): Unregister for page cache callback.
-                (WebCore::HTMLMediaElement::documentWillSuspendForPageCache): New.
-                (WebCore::HTMLMediaElement::documentDidResumeFromPageCache): New.
</del><ins>+                * Modules/websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::processFrame):
+                Normally, processOutgoingFrameQueue() closes the handle in the end when called in
+                OutgoingFrameQueueClosing state. But there is no definitive protection against
+                processing two CLOSE frames, in which case we'd try to close the handle twice.
</ins><span class="cx"> 
</span><ins>+                * platform/network/cf/SocketStreamHandleCFNet.cpp:
+                (WebCore::SocketStreamHandle::readStreamCallback): Passing empty data to the client
+                results in the socket being closed, which makes no sense here.
+
</ins><span class="cx">         2015-05-12  Dana Burkart
</span><span class="cx">         Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx">         dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-                Merge r183971. rdar://problem/20065572
</del><ins>+                Merge r184001. rdar://problem/20862460
</ins><span class="cx"> 
</span><del>-            2015-05-07  Dean Jackson  &lt;dino@apple.com&gt;
</del><ins>+            2015-05-08  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                    [iOS] MediaControls: disappear while scrubbing
-                    https://bugs.webkit.org/show_bug.cgi?id=144777
-                    &lt;rdar://problem/20065572&gt;
</del><ins>+                    [Mac] Playback target clients do not unregister on page reload
+                    https://bugs.webkit.org/show_bug.cgi?id=144761
</ins><span class="cx"> 
</span><del>-                    Reviewed by Eric Carlson.
</del><ins>+                    Reviewed by Brady Eidson.
</ins><span class="cx"> 
</span><del>-                    If we are scrubbing we shouldn't hide the controls.
</del><ins>+                    * dom/Document.cpp:
+                    (WebCore::Document::prepareForDestruction): Unregister all target picker clients.
</ins><span class="cx"> 
</span><del>-                    * Modules/mediacontrols/mediaControlsApple.js:
-                    (Controller.prototype.hideControls): Return early if we are scrubbing.
-                    * Modules/mediacontrols/mediaControlsiOS.js:
-                    (ControllerIOS.prototype): Add initial value for _potentiallyScrubbing and
-                    rename from non-underscored value throughout the file.
-                    (ControllerIOS.prototype.handleTimelineTouchEnd): When we finish scrubbing, reset
-                    the timer to hide the controls.
</del><ins>+                    * html/HTMLMediaElement.cpp:
+                    (WebCore::HTMLMediaElement::registerWithDocument): Register for page cache callback.
+                    (WebCore::HTMLMediaElement::unregisterWithDocument): Unregister for page cache callback.
+                    (WebCore::HTMLMediaElement::documentWillSuspendForPageCache): New.
+                    (WebCore::HTMLMediaElement::documentDidResumeFromPageCache): New.
</ins><span class="cx"> 
</span><span class="cx">             2015-05-12  Dana Burkart
</span><span class="cx">             Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx">             dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-                    Merge r183970. rdar://problem/20769741
</del><ins>+                    Merge r183971. rdar://problem/20065572
</ins><span class="cx"> 
</span><del>-                2015-05-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
</del><ins>+                2015-05-07  Dean Jackson  &lt;dino@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                        REGRESSION (r183300): Fixed elements flash when scrolling
-                        https://bugs.webkit.org/show_bug.cgi?id=144778
-                        rdar://problem/20769741
</del><ins>+                        [iOS] MediaControls: disappear while scrubbing
+                        https://bugs.webkit.org/show_bug.cgi?id=144777
+                        &lt;rdar://problem/20065572&gt;
</ins><span class="cx"> 
</span><del>-                        Reviewed by Dean Jackson.
</del><ins>+                        Reviewed by Eric Carlson.
</ins><span class="cx"> 
</span><del>-                        After r183300 we can detached layer backing store when outside the coverage region.
-                        However, position:fixed layers are moved around by the ScrollingCoordinator behind
-                        GraphicsLayer's back, so we can do layer flushes with stale information about layer
-                        geometry.
</del><ins>+                        If we are scrubbing we shouldn't hide the controls.
</ins><span class="cx"> 
</span><del>-                        To avoid dropping backing store for layers in this situation, prevent backing
-                        store detachment on layers registered with the ScrollingCoordinator as viewport-constrained
-                        layers. Preventing detachment on a layer also prevents detachment on all descendant
-                        layers.
</del><ins>+                        * Modules/mediacontrols/mediaControlsApple.js:
+                        (Controller.prototype.hideControls): Return early if we are scrubbing.
+                        * Modules/mediacontrols/mediaControlsiOS.js:
+                        (ControllerIOS.prototype): Add initial value for _potentiallyScrubbing and
+                        rename from non-underscored value throughout the file.
+                        (ControllerIOS.prototype.handleTimelineTouchEnd): When we finish scrubbing, reset
+                        the timer to hide the controls.
</ins><span class="cx"> 
</span><del>-                        * platform/graphics/GraphicsLayer.h:
-                        (WebCore::GraphicsLayer::setAllowsBackingStoreDetachment):
-                        (WebCore::GraphicsLayer::allowsBackingStoreDetachment):
-                        * platform/graphics/ca/GraphicsLayerCA.cpp:
-                        (WebCore::GraphicsLayerCA::GraphicsLayerCA):
-                        (WebCore::GraphicsLayerCA::setVisibleAndCoverageRects): Set m_intersectsCoverageRect to true
-                        if backing store detachment is prevented.
-                        (WebCore::GraphicsLayerCA::recursiveCommitChanges): Set a bit in the CommitState to
-                        communicate to descendants that detachment is prevented.
-                        * platform/graphics/ca/GraphicsLayerCA.h:
-                        (WebCore::GraphicsLayerCA::CommitState::CommitState): Deleted.
-                        * rendering/RenderLayerBacking.cpp:
-                        (WebCore::RenderLayerBacking::setIsScrollCoordinatedWithViewportConstrainedRole):
-                        * rendering/RenderLayerBacking.h:
-                        (WebCore::RenderLayerBacking::setScrollingNodeIDForRole): If registering with a non-zero
-                        nodeID for the ViewportConstrained role, turn off backing store detachment.
-
</del><span class="cx">                 2015-05-12  Dana Burkart
</span><span class="cx">                 Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx">                 dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-                        Merge r183965. rdar://problem/20866590
</del><ins>+                        Merge r183970. rdar://problem/20769741
</ins><span class="cx"> 
</span><del>-                    2015-05-07  Dean Jackson  &lt;dino@apple.com&gt;
</del><ins>+                    2015-05-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                            [iOS] While scrubbing and holding down, video continues to play
-                            https://bugs.webkit.org/show_bug.cgi?id=144776
-                            &lt;rdar://problem/20863757&gt;
</del><ins>+                            REGRESSION (r183300): Fixed elements flash when scrolling
+                            https://bugs.webkit.org/show_bug.cgi?id=144778
+                            rdar://problem/20769741
</ins><span class="cx"> 
</span><del>-                            Reviewed by Simon Fraser.
</del><ins>+                            Reviewed by Dean Jackson.
</ins><span class="cx"> 
</span><del>-                            When we are scrubbing a video, we should pause playback. As we
-                            let go of the scrubber playback can resume (but only if it was
-                            playing originally).
</del><ins>+                            After r183300 we can detached layer backing store when outside the coverage region.
+                            However, position:fixed layers are moved around by the ScrollingCoordinator behind
+                            GraphicsLayer's back, so we can do layer flushes with stale information about layer
+                            geometry.
</ins><span class="cx"> 
</span><del>-                            * Modules/mediacontrols/mediaControlsiOS.js:
-                            (ControllerIOS.prototype.createControls): Listen for touchstart on the scrubber.
-                            (ControllerIOS.prototype.handleTimelineInput): Call the prototype, but pause if necessary.
-                            (ControllerIOS.prototype.handleTimelineChange): Just moved this to be with the other timeline functions.
-                            (ControllerIOS.prototype.handleTimelineTouchStart): Add the listeners for end and cancel. Remember that we are
-                            potentially about to scrub.
-                            (ControllerIOS.prototype.handleTimelineTouchEnd): Remove the listeners.
</del><ins>+                            To avoid dropping backing store for layers in this situation, prevent backing
+                            store detachment on layers registered with the ScrollingCoordinator as viewport-constrained
+                            layers. Preventing detachment on a layer also prevents detachment on all descendant
+                            layers.
</ins><span class="cx"> 
</span><ins>+                            * platform/graphics/GraphicsLayer.h:
+                            (WebCore::GraphicsLayer::setAllowsBackingStoreDetachment):
+                            (WebCore::GraphicsLayer::allowsBackingStoreDetachment):
+                            * platform/graphics/ca/GraphicsLayerCA.cpp:
+                            (WebCore::GraphicsLayerCA::GraphicsLayerCA):
+                            (WebCore::GraphicsLayerCA::setVisibleAndCoverageRects): Set m_intersectsCoverageRect to true
+                            if backing store detachment is prevented.
+                            (WebCore::GraphicsLayerCA::recursiveCommitChanges): Set a bit in the CommitState to
+                            communicate to descendants that detachment is prevented.
+                            * platform/graphics/ca/GraphicsLayerCA.h:
+                            (WebCore::GraphicsLayerCA::CommitState::CommitState): Deleted.
+                            * rendering/RenderLayerBacking.cpp:
+                            (WebCore::RenderLayerBacking::setIsScrollCoordinatedWithViewportConstrainedRole):
+                            * rendering/RenderLayerBacking.h:
+                            (WebCore::RenderLayerBacking::setScrollingNodeIDForRole): If registering with a non-zero
+                            nodeID for the ViewportConstrained role, turn off backing store detachment.
+
</ins><span class="cx">                     2015-05-12  Dana Burkart
</span><span class="cx">                     Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx">                     dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-                            Merge r183954. rdar://problem/20281886
</del><ins>+                            Merge r183965. rdar://problem/20866590
</ins><span class="cx"> 
</span><del>-                        2015-05-07  Beth Dakin  &lt;bdakin@apple.com&gt;
</del><ins>+                        2015-05-07  Dean Jackson  &lt;dino@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                                New force-related DOM events should fire in WK1 views
-                                https://bugs.webkit.org/show_bug.cgi?id=144663
-                                -and corresponding-
-                                rdar://problem/20281886
</del><ins>+                                [iOS] While scrubbing and holding down, video continues to play
+                                https://bugs.webkit.org/show_bug.cgi?id=144776
+                                &lt;rdar://problem/20863757&gt;
</ins><span class="cx"> 
</span><del>-                                Reviewed by Sam Weinig.
</del><ins>+                                Reviewed by Simon Fraser.
</ins><span class="cx"> 
</span><del>-                                All of the WK1 mouse events need to take the correspondingPressureEvent.
-                                * page/EventHandler.h:
</del><ins>+                                When we are scrubbing a video, we should pause playback. As we
+                                let go of the scrubber playback can resume (but only if it was
+                                playing originally).
</ins><span class="cx"> 
</span><del>-                                Make correspondingPressureEvent a part of CurrentEventScope. This is needed to
-                                have accurate pressure information for all of the mouse events in subframes.
-                                * page/mac/EventHandlerMac.mm:
-                                (WebCore::correspondingPressureEventSlot):
-                                (WebCore::EventHandler::correspondingPressureEvent):
-                                (WebCore::CurrentEventScope::CurrentEventScope):
-                                (WebCore::CurrentEventScope::~CurrentEventScope):
</del><ins>+                                * Modules/mediacontrols/mediaControlsiOS.js:
+                                (ControllerIOS.prototype.createControls): Listen for touchstart on the scrubber.
+                                (ControllerIOS.prototype.handleTimelineInput): Call the prototype, but pause if necessary.
+                                (ControllerIOS.prototype.handleTimelineChange): Just moved this to be with the other timeline functions.
+                                (ControllerIOS.prototype.handleTimelineTouchStart): Add the listeners for end and cancel. Remember that we are
+                                potentially about to scrub.
+                                (ControllerIOS.prototype.handleTimelineTouchEnd): Remove the listeners.
</ins><span class="cx"> 
</span><del>-                                These events don’t have an associated pressure, so send nil for the
-                                correspondingPressureEvent.
-                                (WebCore::EventHandler::wheelEvent):
-                                (WebCore::EventHandler::keyEvent):
</del><ins>+                        2015-05-12  Dana Burkart
+                        Dana Burkart  &lt;dburkart@apple.com
+                        dburkart@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                                Pipe through correspondingPressureEvent.
-                                (WebCore::EventHandler::mouseDown):
-                                (WebCore::EventHandler::mouseDragged):
-                                (WebCore::EventHandler::mouseUp):
-                                (WebCore::EventHandler::mouseMoved):
</del><ins>+                                Merge r183954. rdar://problem/20281886
</ins><span class="cx"> 
</span><del>-                                New function to handle pressure change events.
-                                (WebCore::EventHandler::pressureChange):
</del><ins>+                            2015-05-07  Beth Dakin  &lt;bdakin@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                                Pipe through correspondingPressureEvent.
-                                (WebCore::EventHandler::passMouseMovedEventToScrollbars):
-                                (WebCore::EventHandler::currentPlatformMouseEvent):
</del><ins>+                                    New force-related DOM events should fire in WK1 views
+                                    https://bugs.webkit.org/show_bug.cgi?id=144663
+                                    -and corresponding-
+                                    rdar://problem/20281886
</ins><span class="cx"> 
</span><del>-                                Take the correspondingPressureEvent in order to build a PlatformMouseEvent with
-                                the correct pressure information.
-                                * platform/mac/PlatformEventFactoryMac.h:
-                                * platform/mac/PlatformEventFactoryMac.mm:
-                                (WebCore::globalPointForEvent):
-                                (WebCore::pointForEvent):
-                                (WebCore::mouseButtonForEvent):
-                                (WebCore::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
-                                (WebCore::PlatformEventFactory::createPlatformMouseEvent):
</del><ins>+                                    Reviewed by Sam Weinig.
</ins><span class="cx"> 
</span><del>-                        2015-05-12  Dana Burkart
-                        Dana Burkart  &lt;dburkart@apple.com
-                        dburkart@apple.com&gt;
</del><ins>+                                    All of the WK1 mouse events need to take the correspondingPressureEvent.
+                                    * page/EventHandler.h:
</ins><span class="cx"> 
</span><del>-                                Merge r183953. rdar://problem/19997548
</del><ins>+                                    Make correspondingPressureEvent a part of CurrentEventScope. This is needed to
+                                    have accurate pressure information for all of the mouse events in subframes.
+                                    * page/mac/EventHandlerMac.mm:
+                                    (WebCore::correspondingPressureEventSlot):
+                                    (WebCore::EventHandler::correspondingPressureEvent):
+                                    (WebCore::CurrentEventScope::CurrentEventScope):
+                                    (WebCore::CurrentEventScope::~CurrentEventScope):
</ins><span class="cx"> 
</span><del>-                            2015-05-06  Roger Fong  &lt;roger_fong@apple.com&gt;
</del><ins>+                                    These events don’t have an associated pressure, so send nil for the
+                                    correspondingPressureEvent.
+                                    (WebCore::EventHandler::wheelEvent):
+                                    (WebCore::EventHandler::keyEvent):
</ins><span class="cx"> 
</span><del>-                                    Media Controls: Scrubber should be independent of actual video time, causes scrubber to be jumpy.
-                                    https://bugs.webkit.org/show_bug.cgi?id=144700.
-                                    &lt;rdar://problem/19997548&gt;
</del><ins>+                                    Pipe through correspondingPressureEvent.
+                                    (WebCore::EventHandler::mouseDown):
+                                    (WebCore::EventHandler::mouseDragged):
+                                    (WebCore::EventHandler::mouseUp):
+                                    (WebCore::EventHandler::mouseMoved):
</ins><span class="cx"> 
</span><del>-                                    Reviewed by Jer Noble.
</del><ins>+                                    New function to handle pressure change events.
+                                    (WebCore::EventHandler::pressureChange):
</ins><span class="cx"> 
</span><del>-                                    Update time and timeline during the timeline input event instead of the wrapper's mousemove.
-                                    (Controller.prototype.handleWrapperMouseMove):
-                                    (Controller.prototype.handleTimelineMouseMove):
-                                    (Controller.prototype.drawTimelineBackground):
</del><ins>+                                    Pipe through correspondingPressureEvent.
+                                    (WebCore::EventHandler::passMouseMovedEventToScrollbars):
+                                    (WebCore::EventHandler::currentPlatformMouseEvent):
</ins><span class="cx"> 
</span><del>-                                    (Controller.prototype.updateControlsWhileScrubbing):
-                                    Updates time and scrubber to reflect timeline user input.
</del><ins>+                                    Take the correspondingPressureEvent in order to build a PlatformMouseEvent with
+                                    the correct pressure information.
+                                    * platform/mac/PlatformEventFactoryMac.h:
+                                    * platform/mac/PlatformEventFactoryMac.mm:
+                                    (WebCore::globalPointForEvent):
+                                    (WebCore::pointForEvent):
+                                    (WebCore::mouseButtonForEvent):
+                                    (WebCore::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
+                                    (WebCore::PlatformEventFactory::createPlatformMouseEvent):
</ins><span class="cx"> 
</span><span class="cx">                             2015-05-12  Dana Burkart
</span><span class="cx">                             Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx">                             dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-                                    Merge r183943. rdar://problem/19913748
</del><ins>+                                    Merge r183953. rdar://problem/19997548
</ins><span class="cx"> 
</span><del>-                                2015-05-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
</del><ins>+                                2015-05-06  Roger Fong  &lt;roger_fong@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                                        Remove the WK1-only code path for independently composited iframes
-                                        https://bugs.webkit.org/show_bug.cgi?id=144722
</del><ins>+                                        Media Controls: Scrubber should be independent of actual video time, causes scrubber to be jumpy.
+                                        https://bugs.webkit.org/show_bug.cgi?id=144700.
+                                        &lt;rdar://problem/19997548&gt;
</ins><span class="cx"> 
</span><del>-                                        Reviewed by Dean Jackson.
</del><ins>+                                        Reviewed by Jer Noble.
</ins><span class="cx"> 
</span><del>-                                        In WebKit1 on Mac, we allowed iframes to be composited independently of their
-                                        parent document, relying on the fact that the frame's platform view can host
-                                        a layer-backed view. However, this ran into bugs (rdar://problem/18862298),
-                                        and triggers the assertion at the end of FrameView::updateLayoutAndStyleIfNeededRecursive(),
-                                        because the compositing update after a layout can dirty style in notifyIFramesOfCompositingChange().
</del><ins>+                                        Update time and timeline during the timeline input event instead of the wrapper's mousemove.
+                                        (Controller.prototype.handleWrapperMouseMove):
+                                        (Controller.prototype.handleTimelineMouseMove):
+                                        (Controller.prototype.drawTimelineBackground):
</ins><span class="cx"> 
</span><del>-                                        Removing the WK1-only code path solves these problems. It also eliminates the need
-                                        to do compositing-specific frame overlap testing.
</del><ins>+                                        (Controller.prototype.updateControlsWhileScrubbing):
+                                        Updates time and scrubber to reflect timeline user input.
</ins><span class="cx"> 
</span><del>-                                        * page/FrameView.cpp:
-                                        (WebCore::FrameView::setIsOverlapped): No need to do compositing-related things here.
-                                        Any iframe that gets composited will participate in the normal compositing overlap
-                                        testing in its parent frame.
-                                        (WebCore::FrameView::hasCompositedContentIncludingDescendants): Deleted.
-                                        (WebCore::FrameView::hasCompositingAncestor): Deleted.
-                                        * page/FrameView.h:
-                                        * rendering/RenderLayerCompositor.cpp: Replace ownerElement() checks in this file
-                                        with an isMainFrameCompositor() for readability. Some 0-&gt;nullptr.
-                                        (WebCore::RenderLayerCompositor::cacheAcceleratedCompositingFlags):
-                                        (WebCore::RenderLayerCompositor::chromeClient):
-                                        (WebCore::RenderLayerCompositor::enclosingCompositorFlushingLayers):
-                                        (WebCore::RenderLayerCompositor::updateCompositingLayers):
-                                        (WebCore::RenderLayerCompositor::appendDocumentOverlayLayers):
-                                        (WebCore::RenderLayerCompositor::updateBacking):
-                                        (WebCore::RenderLayerCompositor::layerTreeAsText):
-                                        (WebCore::RenderLayerCompositor::frameContentsCompositor):
-                                        (WebCore::RenderLayerCompositor::setIsInWindow):
-                                        (WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame):
-                                        (WebCore::RenderLayerCompositor::requiresCompositingForFrame): frameRenderer.requiresAcceleratedCompositing()
-                                        already bails on no content RenderView, so the shouldPropagateCompositingToEnclosingFrame() check does
-                                        nothing and is removed.
-                                        (WebCore::RenderLayerCompositor::isAsyncScrollableStickyLayer):
-                                        (WebCore::RenderLayerCompositor::requiresScrollLayer):
-                                        (WebCore::RenderLayerCompositor::documentUsesTiledBacking):
-                                        (WebCore::RenderLayerCompositor::isMainFrameCompositor):
-                                        (WebCore::RenderLayerCompositor::shouldCompositeOverflowControls):
-                                        (WebCore::RenderLayerCompositor::requiresOverhangAreasLayer):
-                                        (WebCore::RenderLayerCompositor::requiresContentShadowLayer):
-                                        (WebCore::RenderLayerCompositor::updateLayerForTopOverhangArea):
-                                        (WebCore::RenderLayerCompositor::updateLayerForBottomOverhangArea):
-                                        (WebCore::RenderLayerCompositor::updateLayerForHeader):
-                                        (WebCore::RenderLayerCompositor::updateLayerForFooter):
-                                        (WebCore::RenderLayerCompositor::ensureRootLayer): Main frame attaches via ChromeClient,
-                                        all other frames attach via parent frame.
-                                        (WebCore::RenderLayerCompositor::notifyIFramesOfCompositingChange): This call to
-                                        scheduleSetNeedsStyleRecalc(SyntheticStyleChange) was the source of dirtying style after
-                                        layout, but is no longer needed so remove it.
-                                        (WebCore::RenderLayerCompositor::registerAllViewportConstrainedLayers):
-                                        (WebCore::RenderLayerCompositor::unregisterAllViewportConstrainedLayers):
-                                        (WebCore::RenderLayerCompositor::scrollingCoordinator):
-                                        (WebCore::RenderLayerCompositor::graphicsLayerFactory):
-                                        (WebCore::RenderLayerCompositor::allowsIndependentlyCompositedFrames): Deleted.
-                                        (WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingFrame): Deleted.
-                                        (WebCore::RenderLayerCompositor::mainFrameBackingIsTiled): Deleted. This was mis-named;
-                                        it really asks whether the document uses tiled backing, but does not check for main frame.
-                                        * rendering/RenderLayerCompositor.h:
-                                        * rendering/RenderWidget.cpp:
-                                        (WebCore::RenderWidget::paintContents): No need to do frame overlap testing for
-                                        compositing now.
-
</del><span class="cx">                                 2015-05-12  Dana Burkart
</span><span class="cx">                                 Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx">                                 dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-                                        Merge r183927. rdar://problem/20854785
</del><ins>+                                        Merge r183943. rdar://problem/19913748
</ins><span class="cx"> 
</span><del>-                                    2015-05-07  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</del><ins>+                                    2015-05-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                                            [Mac] Playback target isn't set on new element
-                                            https://bugs.webkit.org/show_bug.cgi?id=144724
</del><ins>+                                            Remove the WK1-only code path for independently composited iframes
+                                            https://bugs.webkit.org/show_bug.cgi?id=144722
</ins><span class="cx"> 
</span><del>-                                            Reviewed by Jer Noble.
</del><ins>+                                            Reviewed by Dean Jackson.
</ins><span class="cx"> 
</span><del>-                                            * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
-                                            * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
-                                            (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): Call setShouldPlayToPlaybackTarget
-                                            if necessary.
-                                            (WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldPlayToPlaybackTarget): Remember
-                                            the setting in case we don't have an AVPlayer yet.
</del><ins>+                                            In WebKit1 on Mac, we allowed iframes to be composited independently of their
+                                            parent document, relying on the fact that the frame's platform view can host
+                                            a layer-backed view. However, this ran into bugs (rdar://problem/18862298),
+                                            and triggers the assertion at the end of FrameView::updateLayoutAndStyleIfNeededRecursive(),
+                                            because the compositing update after a layout can dirty style in notifyIFramesOfCompositingChange().
</ins><span class="cx"> 
</span><ins>+                                            Removing the WK1-only code path solves these problems. It also eliminates the need
+                                            to do compositing-specific frame overlap testing.
+
+                                            * page/FrameView.cpp:
+                                            (WebCore::FrameView::setIsOverlapped): No need to do compositing-related things here.
+                                            Any iframe that gets composited will participate in the normal compositing overlap
+                                            testing in its parent frame.
+                                            (WebCore::FrameView::hasCompositedContentIncludingDescendants): Deleted.
+                                            (WebCore::FrameView::hasCompositingAncestor): Deleted.
+                                            * page/FrameView.h:
+                                            * rendering/RenderLayerCompositor.cpp: Replace ownerElement() checks in this file
+                                            with an isMainFrameCompositor() for readability. Some 0-&gt;nullptr.
+                                            (WebCore::RenderLayerCompositor::cacheAcceleratedCompositingFlags):
+                                            (WebCore::RenderLayerCompositor::chromeClient):
+                                            (WebCore::RenderLayerCompositor::enclosingCompositorFlushingLayers):
+                                            (WebCore::RenderLayerCompositor::updateCompositingLayers):
+                                            (WebCore::RenderLayerCompositor::appendDocumentOverlayLayers):
+                                            (WebCore::RenderLayerCompositor::updateBacking):
+                                            (WebCore::RenderLayerCompositor::layerTreeAsText):
+                                            (WebCore::RenderLayerCompositor::frameContentsCompositor):
+                                            (WebCore::RenderLayerCompositor::setIsInWindow):
+                                            (WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame):
+                                            (WebCore::RenderLayerCompositor::requiresCompositingForFrame): frameRenderer.requiresAcceleratedCompositing()
+                                            already bails on no content RenderView, so the shouldPropagateCompositingToEnclosingFrame() check does
+                                            nothing and is removed.
+                                            (WebCore::RenderLayerCompositor::isAsyncScrollableStickyLayer):
+                                            (WebCore::RenderLayerCompositor::requiresScrollLayer):
+                                            (WebCore::RenderLayerCompositor::documentUsesTiledBacking):
+                                            (WebCore::RenderLayerCompositor::isMainFrameCompositor):
+                                            (WebCore::RenderLayerCompositor::shouldCompositeOverflowControls):
+                                            (WebCore::RenderLayerCompositor::requiresOverhangAreasLayer):
+                                            (WebCore::RenderLayerCompositor::requiresContentShadowLayer):
+                                            (WebCore::RenderLayerCompositor::updateLayerForTopOverhangArea):
+                                            (WebCore::RenderLayerCompositor::updateLayerForBottomOverhangArea):
+                                            (WebCore::RenderLayerCompositor::updateLayerForHeader):
+                                            (WebCore::RenderLayerCompositor::updateLayerForFooter):
+                                            (WebCore::RenderLayerCompositor::ensureRootLayer): Main frame attaches via ChromeClient,
+                                            all other frames attach via parent frame.
+                                            (WebCore::RenderLayerCompositor::notifyIFramesOfCompositingChange): This call to
+                                            scheduleSetNeedsStyleRecalc(SyntheticStyleChange) was the source of dirtying style after
+                                            layout, but is no longer needed so remove it.
+                                            (WebCore::RenderLayerCompositor::registerAllViewportConstrainedLayers):
+                                            (WebCore::RenderLayerCompositor::unregisterAllViewportConstrainedLayers):
+                                            (WebCore::RenderLayerCompositor::scrollingCoordinator):
+                                            (WebCore::RenderLayerCompositor::graphicsLayerFactory):
+                                            (WebCore::RenderLayerCompositor::allowsIndependentlyCompositedFrames): Deleted.
+                                            (WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingFrame): Deleted.
+                                            (WebCore::RenderLayerCompositor::mainFrameBackingIsTiled): Deleted. This was mis-named;
+                                            it really asks whether the document uses tiled backing, but does not check for main frame.
+                                            * rendering/RenderLayerCompositor.h:
+                                            * rendering/RenderWidget.cpp:
+                                            (WebCore::RenderWidget::paintContents): No need to do frame overlap testing for
+                                            compositing now.
+
</ins><span class="cx">                                     2015-05-12  Dana Burkart
</span><span class="cx">                                     Dana Burkart  &lt;dburkart@apple.com
</span><span class="cx">                                     dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-                                            Merge r183909. rdar://problem/18894598
</del><ins>+                                            Merge r183927. rdar://problem/20854785
</ins><span class="cx"> 
</span><del>-                                        2015-05-06  Daniel Bates  &lt;dabates@apple.com&gt;
</del><ins>+                                        2015-05-07  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                                                [iOS][WK2] Pause/resume database thread when UIProcess enters/leaves the background
-                                                https://bugs.webkit.org/show_bug.cgi?id=144657
-                                                &lt;rdar://problem/18894598&gt;
</del><ins>+                                                [Mac] Playback target isn't set on new element
+                                                https://bugs.webkit.org/show_bug.cgi?id=144724
</ins><span class="cx"> 
</span><del>-                                                Reviewed by Andy Estes.
</del><ins>+                                                Reviewed by Jer Noble.
</ins><span class="cx"> 
</span><del>-                                                Export WebCore functionality to pause and resume the database thread so that we can
-                                                make use of this functionality from WebKit2.
</del><ins>+                                                * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+                                                * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+                                                (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): Call setShouldPlayToPlaybackTarget
+                                                if necessary.
+                                                (WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldPlayToPlaybackTarget): Remember
+                                                the setting in case we don't have an AVPlayer yet.
</ins><span class="cx"> 
</span><del>-                                                * Modules/webdatabase/AbstractDatabaseServer.h:
-                                                * Modules/webdatabase/DatabaseManager.cpp:
-                                                (WebCore::DatabaseManager::setPauseAllDatabases): Added; turns around and calls DatabaseServer::setPauseAllDatabases().
-                                                * Modules/webdatabase/DatabaseManager.h:
-                                                * Modules/webdatabase/DatabaseServer.cpp:
-                                                (WebCore::DatabaseServer::setPauseAllDatabases): Added; turns around and calls
-                                                DatabaseTracker::tracker().setDatabasesPaused() to pause or resume the database thread.
-                                                For now, we guard this call with PLATFORM(IOS). We'll look to remove this guard once
-                                                we fix &lt;https://bugs.webkit.org/show_bug.cgi?id=144660&gt;.
-                                                * Modules/webdatabase/DatabaseServer.h:
-
</del><span class="cx">                                         2015-05-12  Dana Burkart
</span><del>-                                        Dana Burkart  &lt;dburkart@apple.com&gt;
</del><ins>+                                        Dana Burkart  &lt;dburkart@apple.com
+                                        dburkart@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                                                Merge r183942. rdar://problem/20049088
</del><ins>+                                                Merge r183909. rdar://problem/18894598
</ins><span class="cx"> 
</span><del>-                                            2015-05-06  Dean Jackson  &lt;dino@apple.com&gt;
</del><ins>+                                            2015-05-06  Daniel Bates  &lt;dabates@apple.com&gt;
</ins><span class="cx"> 
</span><del>-                                                    Handle backdrop views that have to tile
-                                                    https://bugs.webkit.org/show_bug.cgi?id=142317
-                                                    &lt;rdar://problem/20049088&gt;
</del><ins>+                                                    [iOS][WK2] Pause/resume database thread when UIProcess enters/leaves the background
+                                                    https://bugs.webkit.org/show_bug.cgi?id=144657
+                                                    &lt;rdar://problem/18894598&gt;
</ins><span class="cx"> 
</span><del>-                                                    Reviewed by Simon Fraser.
</del><ins>+                                                    Reviewed by Andy Estes.
</ins><span class="cx"> 
</span><del>-                                                    Take 2 - this was rolled out because Mavericks was crashing.
</del><ins>+                                                    Export WebCore functionality to pause and resume the database thread so that we can
+                                                    make use of this functionality from WebKit2.
</ins><span class="cx"> 
</span><del>-                                                    Make sure backdrop layers don't tile. If they are big
-                                                    enough, we'll leave it to the platform compositor to handle.
</del><ins>+                                                    * Modules/webdatabase/AbstractDatabaseServer.h:
+                                                    * Modules/webdatabase/DatabaseManager.cpp:
+                                                    (WebCore::DatabaseManager::setPauseAllDatabases): Added; turns around and calls DatabaseServer::setPauseAllDatabases().
+                                                    * Modules/webdatabase/DatabaseManager.h:
+                                                    * Modules/webdatabase/DatabaseServer.cpp:
+                                                    (WebCore::DatabaseServer::setPauseAllDatabases): Added; turns around and calls
+                                                    DatabaseTracker::tracker().setDatabasesPaused() to pause or resume the database thread.
+                                                    For now, we guard this call with PLATFORM(IOS). We'll look to remove this guard once
+                                                    we fix &lt;https://bugs.webkit.org/show_bug.cgi?id=144660&gt;.
+                                                    * Modules/webdatabase/DatabaseServer.h:
</ins><span class="cx"> 
</span><del>-                                                    This also fixes a bug where if a layer changed from a backdrop
-                                                    type to a tiled type, it would still retain its custom appearance
-                                                    and we'd try to add children to the wrong layer.
-
-                                                    Test: compositing/media-controls-bar-appearance-big.html
-
-                                                    * platform/graphics/ca/GraphicsLayerCA.cpp:
-                                                    (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): Check if
-                                                    a layer needs a backdrop before checking if it needs to tile.
-
</del><span class="cx">                                             2015-05-12  Dana Burkart
</span><span class="cx">                                             Dana Burkart  &lt;dburkart@apple.com&gt;
</span><span class="cx"> 
</span><del>-                                                    Merge r183894. rdar://problem/20049088
</del><ins>+                                                    Merge r183942. rdar://problem/20049088
</ins><span class="cx"> 
</span><span class="cx">                                                 2015-05-06  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -374,6 +379,8 @@
</span><span class="cx"> 
</span><span class="cx">                                                         Reviewed by Simon Fraser.
</span><span class="cx"> 
</span><ins>+                                                        Take 2 - this was rolled out because Mavericks was crashing.
+
</ins><span class="cx">                                                         Make sure backdrop layers don't tile. If they are big
</span><span class="cx">                                                         enough, we'll leave it to the platform compositor to handle.
</span><span class="cx"> 
</span><span class="lines">@@ -387,6 +394,32 @@
</span><span class="cx">                                                         (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): Check if
</span><span class="cx">                                                         a layer needs a backdrop before checking if it needs to tile.
</span><span class="cx"> 
</span><ins>+                                                2015-05-12  Dana Burkart
+                                                Dana Burkart  &lt;dburkart@apple.com&gt;
+
+                                                        Merge r183894. rdar://problem/20049088
+
+                                                    2015-05-06  Dean Jackson  &lt;dino@apple.com&gt;
+
+                                                            Handle backdrop views that have to tile
+                                                            https://bugs.webkit.org/show_bug.cgi?id=142317
+                                                            &lt;rdar://problem/20049088&gt;
+
+                                                            Reviewed by Simon Fraser.
+
+                                                            Make sure backdrop layers don't tile. If they are big
+                                                            enough, we'll leave it to the platform compositor to handle.
+
+                                                            This also fixes a bug where if a layer changed from a backdrop
+                                                            type to a tiled type, it would still retain its custom appearance
+                                                            and we'd try to add children to the wrong layer.
+
+                                                            Test: compositing/media-controls-bar-appearance-big.html
+
+                                                            * platform/graphics/ca/GraphicsLayerCA.cpp:
+                                                            (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): Check if
+                                                            a layer needs a backdrop before checking if it needs to tile.
+
</ins><span class="cx"> 2015-05-06  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Scroll-snap points do not handle margins and padding propertly
</span></span></pre></div>
<a id="branchessafari601132branchSourceWebCoreplatformgraphicsMaskImageOperationcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/WebCore/platform/graphics/MaskImageOperation.cpp (184253 => 184254)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/WebCore/platform/graphics/MaskImageOperation.cpp        2015-05-13 04:17:20 UTC (rev 184253)
+++ branches/safari-601.1.32-branch/Source/WebCore/platform/graphics/MaskImageOperation.cpp        2015-05-13 04:25:32 UTC (rev 184254)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;MaskImageOperation.h&quot;
</span><span class="cx"> 
</span><ins>+#include &quot;CSSValuePool.h&quot;
</ins><span class="cx"> #include &quot;CachedImage.h&quot;
</span><span class="cx"> #include &quot;CachedSVGDocument.h&quot;
</span><span class="cx"> #include &quot;RenderBoxModelObject.h&quot;
</span><span class="lines">@@ -77,7 +78,6 @@
</span><span class="cx">     : m_isExternalDocument(false)
</span><span class="cx">     , m_renderLayerImageClient(nullptr)
</span><span class="cx"> {
</span><del>-    m_cssMaskImageValue = WebKitCSSResourceValue::create(CSSPrimitiveValue::createIdentifier(CSSValueNone));
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> MaskImageOperation::~MaskImageOperation()
</span><span class="lines">@@ -98,8 +98,7 @@
</span><span class="cx">     if (image())
</span><span class="cx">         return false;
</span><span class="cx"> 
</span><del>-    ASSERT(m_cssMaskImageValue.get());
-    return m_cssMaskImageValue-&gt;isCSSValueNone();
</del><ins>+    return !m_cssMaskImageValue || m_cssMaskImageValue-&gt;isCSSValueNone();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;CSSValue&gt; MaskImageOperation::cssValue()
</span><span class="lines">@@ -108,7 +107,7 @@
</span><span class="cx">         return image()-&gt;cssValue();
</span><span class="cx">     
</span><span class="cx">     if (isCSSValueNone())
</span><del>-        return m_cssMaskImageValue-&gt;innerValue();
</del><ins>+        return cssValuePool().createIdentifierValue(CSSValueNone);
</ins><span class="cx"> 
</span><span class="cx">     ASSERT(m_cssMaskImageValue.get());
</span><span class="cx">     return m_cssMaskImageValue.get();
</span></span></pre>
</div>
</div>

</body>
</html>