<!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>[168807] branches/safari-538.34-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/168807">168807</a></dd>
<dt>Author</dt> <dd>lforschler@apple.com</dd>
<dt>Date</dt> <dd>2014-05-14 00:59:53 -0700 (Wed, 14 May 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Merged <a href="http://trac.webkit.org/projects/webkit/changeset/168655">r168655</a>.  </pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branchessafari53834branchSourceWebCoreChangeLog">branches/safari-538.34-branch/Source/WebCore/ChangeLog</a></li>
<li><a href="#branchessafari53834branchSourceWebCorepagescrollingAsyncScrollingCoordinatorcpp">branches/safari-538.34-branch/Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp</a></li>
<li><a href="#branchessafari53834branchSourceWebCorepagescrollingScrollingCoordinatorcpp">branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp</a></li>
<li><a href="#branchessafari53834branchSourceWebCorepagescrollingScrollingCoordinatorh">branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.h</a></li>
<li><a href="#branchessafari53834branchSourceWebCorepagescrollingScrollingStateScrollingNodecpp">branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp</a></li>
<li><a href="#branchessafari53834branchSourceWebCorepagescrollingScrollingStateScrollingNodeh">branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.h</a></li>
<li><a href="#branchessafari53834branchSourceWebCorepagescrollingmacScrollingTreeScrollingNodeMach">branches/safari-538.34-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.h</a></li>
<li><a href="#branchessafari53834branchSourceWebCorepagescrollingmacScrollingTreeScrollingNodeMacmm">branches/safari-538.34-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm</a></li>
<li><a href="#branchessafari53834branchSourceWebCorerenderingRenderLayerCompositorcpp">branches/safari-538.34-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessafari53834branchSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/ChangeLog (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/ChangeLog        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/ChangeLog        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -1,5 +1,50 @@
</span><span class="cx"> 2014-05-14  Lucas Forschler  &lt;lforschler@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Merge r168655
+
+    2014-05-12  Beth Dakin  &lt;bdakin@apple.com&gt;
+
+            Content shadow layer needs to move in sync with the content layer
+            https://bugs.webkit.org/show_bug.cgi?id=132841
+            -and corresponding-
+            &lt;rdar://problem/16641115&gt;
+
+            Reviewed by Simon Fraser.
+
+            Now that the root content layer moves a little bit (for y scroll positions between 
+            0 and topContentInset), the shadow layer needs to move along with it since the 
+            shadow layer should always have the same position as the root content layer.
+
+            Set the root state node’s shadow layer, and update the position whenever the root 
+            content layer’s position is updated.
+            * page/scrolling/AsyncScrollingCoordinator.cpp:
+            (WebCore::AsyncScrollingCoordinator::frameViewRootLayerDidChange):
+            (WebCore::AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll):
+
+            Fetch the compositor’s layerForContentShadow().
+            * page/scrolling/ScrollingCoordinator.cpp:
+            (WebCore::ScrollingCoordinator::contentShadowLayerForFrameView):
+            * page/scrolling/ScrollingCoordinator.h:
+
+            Hook up the contentShadowLayer in the state node.
+            * page/scrolling/ScrollingStateScrollingNode.cpp:
+            (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
+            (WebCore::ScrollingStateScrollingNode::setContentShadowLayer):
+
+            Hook it up in the ScrollingTreeNode as well. Move the layer whenever the m
+            _scrolledContentsLayer is moved.
+            * page/scrolling/ScrollingStateScrollingNode.h:
+            * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
+            * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+            (WebCore::ScrollingTreeScrollingNodeMac::updateBeforeChildren):
+            (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
+
+            The shadow layer needs an anchor point now that we are moving it around.
+            * rendering/RenderLayerCompositor.cpp:
+            (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
+
+2014-05-14  Lucas Forschler  &lt;lforschler@apple.com&gt;
+
</ins><span class="cx">         Merge r168643
</span><span class="cx"> 
</span><span class="cx">     2014-05-12  Beth Dakin  &lt;bdakin@apple.com&gt;
</span></span></pre></div>
<a id="branchessafari53834branchSourceWebCorepagescrollingAsyncScrollingCoordinatorcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -135,6 +135,7 @@
</span><span class="cx">     node-&gt;setLayer(scrollLayerForFrameView(frameView));
</span><span class="cx">     node-&gt;setCounterScrollingLayer(counterScrollingLayerForFrameView(frameView));
</span><span class="cx">     node-&gt;setInsetClipLayer(insetClipLayerForFrameView(frameView));
</span><ins>+    node-&gt;setContentShadowLayer(contentShadowLayerForFrameView(frameView));
</ins><span class="cx">     node-&gt;setHeaderLayer(headerLayerForFrameView(frameView));
</span><span class="cx">     node-&gt;setFooterLayer(footerLayerForFrameView(frameView));
</span><span class="cx">     node-&gt;setScrollBehaviorForFixedElements(frameView-&gt;scrollBehaviorForFixedElements());
</span><span class="lines">@@ -215,6 +216,7 @@
</span><span class="cx">         if (GraphicsLayer* scrollLayer = scrollLayerForFrameView(frameView)) {
</span><span class="cx">             GraphicsLayer* counterScrollingLayer = counterScrollingLayerForFrameView(frameView);
</span><span class="cx">             GraphicsLayer* insetClipLayer = insetClipLayerForFrameView(frameView);
</span><ins>+            GraphicsLayer* contentShadowLayer = contentShadowLayerForFrameView(frameView);
</ins><span class="cx">             GraphicsLayer* scrolledContentsLayer = rootContentLayerForFrameView(frameView);
</span><span class="cx">             GraphicsLayer* headerLayer = headerLayerForFrameView(frameView);
</span><span class="cx">             GraphicsLayer* footerLayer = footerLayerForFrameView(frameView);
</span><span class="lines">@@ -234,6 +236,8 @@
</span><span class="cx">                     counterScrollingLayer-&gt;setPosition(toLayoutPoint(scrollOffsetForFixed));
</span><span class="cx">                 if (insetClipLayer)
</span><span class="cx">                     insetClipLayer-&gt;setPosition(positionForInsetClipLayer);
</span><ins>+                if (contentShadowLayer)
+                    contentShadowLayer-&gt;setPosition(positionForContentsLayer);
</ins><span class="cx">                 if (scrolledContentsLayer)
</span><span class="cx">                     scrolledContentsLayer-&gt;setPosition(positionForContentsLayer);
</span><span class="cx">                 if (headerLayer)
</span><span class="lines">@@ -246,6 +250,8 @@
</span><span class="cx">                     counterScrollingLayer-&gt;syncPosition(toLayoutPoint(scrollOffsetForFixed));
</span><span class="cx">                 if (insetClipLayer)
</span><span class="cx">                     insetClipLayer-&gt;syncPosition(positionForInsetClipLayer);
</span><ins>+                if (contentShadowLayer)
+                    contentShadowLayer-&gt;syncPosition(positionForContentsLayer);
</ins><span class="cx">                 if (scrolledContentsLayer)
</span><span class="cx">                     scrolledContentsLayer-&gt;syncPosition(positionForContentsLayer);
</span><span class="cx">                 if (headerLayer)
</span></span></pre></div>
<a id="branchessafari53834branchSourceWebCorepagescrollingScrollingCoordinatorcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -255,6 +255,13 @@
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+GraphicsLayer* ScrollingCoordinator::contentShadowLayerForFrameView(FrameView* frameView)
+{
+    if (RenderView* renderView = frameView-&gt;frame().contentRenderer())
+        return renderView-&gt;compositor().layerForContentShadow();
+    return nullptr;
+}
+
</ins><span class="cx"> GraphicsLayer* ScrollingCoordinator::rootContentLayerForFrameView(FrameView* frameView)
</span><span class="cx"> {
</span><span class="cx">     if (RenderView* renderView = frameView-&gt;frame().contentRenderer())
</span></span></pre></div>
<a id="branchessafari53834branchSourceWebCorepagescrollingScrollingCoordinatorh"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.h (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.h        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.h        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -205,6 +205,7 @@
</span><span class="cx">     GraphicsLayer* counterScrollingLayerForFrameView(FrameView*);
</span><span class="cx">     GraphicsLayer* insetClipLayerForFrameView(FrameView*);
</span><span class="cx">     GraphicsLayer* rootContentLayerForFrameView(FrameView*);
</span><ins>+    GraphicsLayer* contentShadowLayerForFrameView(FrameView*);
</ins><span class="cx">     GraphicsLayer* headerLayerForFrameView(FrameView*);
</span><span class="cx">     GraphicsLayer* footerLayerForFrameView(FrameView*);
</span><span class="cx"> 
</span></span></pre></div>
<a id="branchessafari53834branchSourceWebCorepagescrollingScrollingStateScrollingNodecpp"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -87,6 +87,9 @@
</span><span class="cx">     if (hasChangedProperty(InsetClipLayer))
</span><span class="cx">         setInsetClipLayer(stateNode.insetClipLayer().toRepresentation(adoptiveTree.preferredLayerRepresentation()));
</span><span class="cx"> 
</span><ins>+    if (hasChangedProperty(ContentShadowLayer))
+        setContentShadowLayer(stateNode.contentShadowLayer().toRepresentation(adoptiveTree.preferredLayerRepresentation()));
+
</ins><span class="cx">     if (hasChangedProperty(HeaderLayer))
</span><span class="cx">         setHeaderLayer(stateNode.headerLayer().toRepresentation(adoptiveTree.preferredLayerRepresentation()));
</span><span class="cx"> 
</span><span class="lines">@@ -255,6 +258,15 @@
</span><span class="cx">     setPropertyChanged(InsetClipLayer);
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+void ScrollingStateScrollingNode::setContentShadowLayer(const LayerRepresentation&amp; layerRepresentation)
+{
+    if (layerRepresentation == m_contentShadowLayer)
+        return;
+    
+    m_contentShadowLayer = layerRepresentation;
+    setPropertyChanged(ContentShadowLayer);
+}
+
</ins><span class="cx"> void ScrollingStateScrollingNode::setHeaderLayer(const LayerRepresentation&amp; layerRepresentation)
</span><span class="cx"> {
</span><span class="cx">     if (layerRepresentation == m_headerLayer)
</span></span></pre></div>
<a id="branchessafari53834branchSourceWebCorepagescrollingScrollingStateScrollingNodeh"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.h (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.h        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.h        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -63,6 +63,7 @@
</span><span class="cx">         ScrolledContentsLayer,
</span><span class="cx">         CounterScrollingLayer,
</span><span class="cx">         InsetClipLayer,
</span><ins>+        ContentShadowLayer,
</ins><span class="cx">         HeaderHeight,
</span><span class="cx">         FooterHeight,
</span><span class="cx">         HeaderLayer,
</span><span class="lines">@@ -130,6 +131,9 @@
</span><span class="cx">     const LayerRepresentation&amp; insetClipLayer() const { return m_insetClipLayer; }
</span><span class="cx">     void setInsetClipLayer(const LayerRepresentation&amp;);
</span><span class="cx"> 
</span><ins>+    const LayerRepresentation&amp; contentShadowLayer() const { return m_contentShadowLayer; }
+    void setContentShadowLayer(const LayerRepresentation&amp;);
+
</ins><span class="cx">     // The header and footer layers scroll vertically with the page, they should remain fixed when scrolling horizontally.
</span><span class="cx">     const LayerRepresentation&amp; headerLayer() const { return m_headerLayer; }
</span><span class="cx">     void setHeaderLayer(const LayerRepresentation&amp;);
</span><span class="lines">@@ -153,6 +157,7 @@
</span><span class="cx">     LayerRepresentation m_scrolledContentsLayer;
</span><span class="cx">     LayerRepresentation m_counterScrollingLayer;
</span><span class="cx">     LayerRepresentation m_insetClipLayer;
</span><ins>+    LayerRepresentation m_contentShadowLayer;
</ins><span class="cx">     LayerRepresentation m_headerLayer;
</span><span class="cx">     LayerRepresentation m_footerLayer;
</span><span class="cx"> 
</span></span></pre></div>
<a id="branchessafari53834branchSourceWebCorepagescrollingmacScrollingTreeScrollingNodeMach"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.h (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.h        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.h        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -90,6 +90,7 @@
</span><span class="cx">     RetainPtr&lt;CALayer&gt; m_scrolledContentsLayer;
</span><span class="cx">     RetainPtr&lt;CALayer&gt; m_counterScrollingLayer;
</span><span class="cx">     RetainPtr&lt;CALayer&gt; m_insetClipLayer;
</span><ins>+    RetainPtr&lt;CALayer&gt; m_contentShadowLayer;
</ins><span class="cx">     RetainPtr&lt;CALayer&gt; m_headerLayer;
</span><span class="cx">     RetainPtr&lt;CALayer&gt; m_footerLayer;
</span><span class="cx">     RetainPtr&lt;ScrollbarPainter&gt; m_verticalScrollbarPainter;
</span></span></pre></div>
<a id="branchessafari53834branchSourceWebCorepagescrollingmacScrollingTreeScrollingNodeMacmm"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -87,6 +87,9 @@
</span><span class="cx">     if (scrollingStateNode.hasChangedProperty(ScrollingStateScrollingNode::InsetClipLayer))
</span><span class="cx">         m_insetClipLayer = scrollingStateNode.insetClipLayer();
</span><span class="cx"> 
</span><ins>+    if (scrollingStateNode.hasChangedProperty(ScrollingStateScrollingNode::ContentShadowLayer))
+        m_contentShadowLayer = scrollingStateNode.contentShadowLayer();
+
</ins><span class="cx">     if (scrollingStateNode.hasChangedProperty(ScrollingStateScrollingNode::HeaderLayer))
</span><span class="cx">         m_headerLayer = scrollingStateNode.headerLayer();
</span><span class="cx"> 
</span><span class="lines">@@ -360,6 +363,8 @@
</span><span class="cx">         m_insetClipLayer.get().position = FloatPoint(0, FrameView::yPositionForInsetClipLayer(position, topContentInset));
</span><span class="cx">         m_scrolledContentsLayer.get().position = FloatPoint(m_scrolledContentsLayer.get().position.x,
</span><span class="cx">             FrameView::yPositionForRootContentLayer(position, topContentInset, headerHeight()));
</span><ins>+        if (m_contentShadowLayer)
+            m_contentShadowLayer.get().position = m_scrolledContentsLayer.get().position;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (m_headerLayer || m_footerLayer) {
</span></span></pre></div>
<a id="branchessafari53834branchSourceWebCorerenderingRenderLayerCompositorcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-538.34-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp (168806 => 168807)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-538.34-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp        2014-05-14 07:56:36 UTC (rev 168806)
+++ branches/safari-538.34-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp        2014-05-14 07:59:53 UTC (rev 168807)
</span><span class="lines">@@ -3102,6 +3102,7 @@
</span><span class="cx"> #endif
</span><span class="cx">             m_contentShadowLayer-&gt;setSize(m_rootContentLayer-&gt;size());
</span><span class="cx">             m_contentShadowLayer-&gt;setPosition(m_rootContentLayer-&gt;position());
</span><ins>+            m_contentShadowLayer-&gt;setAnchorPoint(FloatPoint3D());
</ins><span class="cx">             m_contentShadowLayer-&gt;setCustomAppearance(GraphicsLayer::ScrollingShadow);
</span><span class="cx"> 
</span><span class="cx">             m_scrollLayer-&gt;addChildBelow(m_contentShadowLayer.get(), m_rootContentLayer.get());
</span></span></pre>
</div>
</div>

</body>
</html>