<!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>[199457] releases/WebKitGTK/webkit-2.12</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/199457">199457</a></dd>
<dt>Author</dt> <dd>carlosgc@webkit.org</dd>
<dt>Date</dt> <dd>2016-04-13 03:21:32 -0700 (Wed, 13 Apr 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Merge <a href="http://trac.webkit.org/projects/webkit/changeset/198771">r198771</a> - Pixel turds when bordered div is resized on SMF forum software.
https://bugs.webkit.org/show_bug.cgi?id=155957
&lt;rdar://problem/25010646&gt;

Reviewed by Simon Fraser.

Use unmodified, non-snapped bounding box rect when computing dirty rects.

Source/WebCore:

Test: fast/repaint/hidpi-box-with-subpixel-height-inflates.html

* rendering/RenderBox.h:
* rendering/RenderBoxModelObject.h:
* rendering/RenderElement.cpp:
(WebCore::RenderElement::getTrailingCorner):
* rendering/RenderInline.h:
* rendering/RenderLineBreak.cpp:
(WebCore::RenderLineBreak::borderBoundingBox): Deleted.
* rendering/RenderLineBreak.h:
* rendering/RenderView.cpp:
(WebCore::RenderView::setBestTruncatedAt):

LayoutTests:

* fast/repaint/hidpi-box-with-subpixel-height-inflates-expected.txt: Added.
* fast/repaint/hidpi-box-with-subpixel-height-inflates.html: Added.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestsChangeLog">releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoreChangeLog">releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorerenderingRenderBoxh">releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderBox.h</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorerenderingRenderBoxModelObjecth">releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderBoxModelObject.h</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorerenderingRenderElementcpp">releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderElement.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorerenderingRenderInlineh">releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderInline.h</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorerenderingRenderLineBreakcpp">releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLineBreak.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorerenderingRenderLineBreakh">releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLineBreak.h</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorerenderingRenderViewcpp">releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderView.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebKit2SharedWebRenderObjectcpp">releases/WebKitGTK/webkit-2.12/Source/WebKit2/Shared/WebRenderObject.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestsfastrepainthidpiboxwithsubpixelheightinflatesexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestsfastrepainthidpiboxwithsubpixelheightinflateshtml">releases/WebKitGTK/webkit-2.12/LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="releasesWebKitGTKwebkit212LayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -1,5 +1,18 @@
</span><span class="cx"> 2016-03-28  Zalan Bujtas  &lt;zalan@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Pixel turds when bordered div is resized on SMF forum software.
+        https://bugs.webkit.org/show_bug.cgi?id=155957
+        &lt;rdar://problem/25010646&gt;
+
+        Reviewed by Simon Fraser.
+
+        Use unmodified, non-snapped bounding box rect when computing dirty rects.
+
+        * fast/repaint/hidpi-box-with-subpixel-height-inflates-expected.txt: Added.
+        * fast/repaint/hidpi-box-with-subpixel-height-inflates.html: Added.
+
+2016-03-28  Zalan Bujtas  &lt;zalan@apple.com&gt;
+
</ins><span class="cx">         Setup cloned continuation renderer properly.
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=155640
</span><span class="cx"> 
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestsfastrepainthidpiboxwithsubpixelheightinflatesexpectedtxt"></a>
<div class="addfile"><h4>Added: releases/WebKitGTK/webkit-2.12/LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates-expected.txt (0 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates-expected.txt                                (rev 0)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates-expected.txt        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+PASS successfullyParsed is true
+
+TEST COMPLETE
+(repaint rects
+(rect 0 49.50 22 152.50)
+(rect 0 48.50 22 1)
+(rect 0 49.50 800 152.50)
+(rect 0 49.50 800 152.50)
+(rect 1 1 1 47.50)
+(rect 1 1 1 200)
+)
+
</ins></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestsfastrepainthidpiboxwithsubpixelheightinflateshtml"></a>
<div class="addfile"><h4>Added: releases/WebKitGTK/webkit-2.12/LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates.html (0 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates.html                                (rev 0)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates.html        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;script&gt;jsTestIsAsync = true;&lt;/script&gt;
+&lt;script src=&quot;../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+&lt;head&gt;
+&lt;title&gt;This tests repainting with subpixel height values.&lt;/title&gt;
+&lt;style&gt;
+body { 
+    margin: 0px;
+}
+
+.container {
+    border: 1px solid green;
+    width: 20px;
+}
+
+#foobar {
+    background: blue;
+    width: 1px;
+    position: relative;
+        font: 99% Ahem;
+        height: 3em;
+}
+
+&lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;div class=container&gt;&lt;div id=foobar&gt;&lt;/div&gt;&lt;/div&gt;
+&lt;script&gt;
+setTimeout(function() { 
+    if (window.internals)
+        internals.startTrackingRepaints();
+    document.getElementById(&quot;foobar&quot;).style.height = &quot;200px&quot;;
+    document.body.offsetWidth;
+
+    if (window.internals) {
+        document.body.innerText = window.internals.repaintRectsAsText();
+        internals.stopTrackingRepaints();
+    }
+    finishJSTest();
+}, 0);
+&lt;/script&gt;
+&lt;script src=&quot;../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -1,5 +1,28 @@
</span><span class="cx"> 2016-03-28  Zalan Bujtas  &lt;zalan@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Pixel turds when bordered div is resized on SMF forum software.
+        https://bugs.webkit.org/show_bug.cgi?id=155957
+        &lt;rdar://problem/25010646&gt;
+
+        Reviewed by Simon Fraser.
+
+        Use unmodified, non-snapped bounding box rect when computing dirty rects.
+
+        Test: fast/repaint/hidpi-box-with-subpixel-height-inflates.html
+
+        * rendering/RenderBox.h:
+        * rendering/RenderBoxModelObject.h:
+        * rendering/RenderElement.cpp:
+        (WebCore::RenderElement::getTrailingCorner):
+        * rendering/RenderInline.h:
+        * rendering/RenderLineBreak.cpp:
+        (WebCore::RenderLineBreak::borderBoundingBox): Deleted.
+        * rendering/RenderLineBreak.h:
+        * rendering/RenderView.cpp:
+        (WebCore::RenderView::setBestTruncatedAt):
+
+2016-03-28  Zalan Bujtas  &lt;zalan@apple.com&gt;
+
</ins><span class="cx">         Setup cloned continuation renderer properly.
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=155640
</span><span class="cx"> 
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorerenderingRenderBoxh"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderBox.h (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderBox.h        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderBox.h        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -153,7 +153,7 @@
</span><span class="cx">     }
</span><span class="cx">     LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); }
</span><span class="cx">     LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + paddingLeft() + paddingRight(), contentHeight() + paddingTop() + paddingBottom()); }
</span><del>-    virtual IntRect borderBoundingBox() const override final { return enclosingIntRect(borderBoxRect()); }
</del><ins>+    LayoutRect borderBoundingBox() const final { return borderBoxRect(); }
</ins><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT RoundedRect::Radii borderRadii() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorerenderingRenderBoxModelObjecth"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderBoxModelObject.h (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderBoxModelObject.h        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderBoxModelObject.h        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -130,7 +130,7 @@
</span><span class="cx">     virtual bool requiresLayer() const override { return isDocumentElementRenderer() || isPositioned() || createsGroup() || hasClipPath() || hasTransformRelatedProperty() || hasHiddenBackface() || hasReflection(); }
</span><span class="cx"> 
</span><span class="cx">     // This will work on inlines to return the bounding box of all of the lines' border boxes.
</span><del>-    virtual IntRect borderBoundingBox() const = 0;
</del><ins>+    virtual LayoutRect borderBoundingBox() const = 0;
</ins><span class="cx"> 
</span><span class="cx">     // These return the CSS computed padding values.
</span><span class="cx">     LayoutUnit computedCSSPaddingTop() const { return computedCSSPadding(style().paddingTop()); }
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorerenderingRenderElementcpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderElement.cpp (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderElement.cpp        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderElement.cpp        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -1729,7 +1729,7 @@
</span><span class="cx">         if (is&lt;RenderText&gt;(*o) || o-&gt;isReplaced()) {
</span><span class="cx">             point = FloatPoint();
</span><span class="cx">             if (is&lt;RenderText&gt;(*o)) {
</span><del>-                IntRect linesBox = downcast&lt;RenderText&gt;(*o).linesBoundingBox();
</del><ins>+                LayoutRect linesBox = downcast&lt;RenderText&gt;(*o).linesBoundingBox();
</ins><span class="cx">                 if (!linesBox.maxX() &amp;&amp; !linesBox.maxY())
</span><span class="cx">                     continue;
</span><span class="cx">                 point.moveBy(linesBox.maxXMaxYCorner());
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorerenderingRenderInlineh"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderInline.h (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderInline.h        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderInline.h        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -53,10 +53,9 @@
</span><span class="cx"> 
</span><span class="cx">     virtual LayoutSize offsetFromContainer(RenderElement&amp;, const LayoutPoint&amp;, bool* offsetDependsOnPoint = nullptr) const override final;
</span><span class="cx"> 
</span><del>-    virtual IntRect borderBoundingBox() const override final
</del><ins>+    LayoutRect borderBoundingBox() const final
</ins><span class="cx">     {
</span><del>-        IntRect boundingBox = linesBoundingBox();
-        return IntRect(0, 0, boundingBox.width(), boundingBox.height());
</del><ins>+        return LayoutRect(LayoutPoint(), linesBoundingBox().size());
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT IntRect linesBoundingBox() const;
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorerenderingRenderLineBreakcpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLineBreak.cpp (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLineBreak.cpp        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLineBreak.cpp        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -225,11 +225,6 @@
</span><span class="cx">     m_cachedLineHeight = invalidLineHeight;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-IntRect RenderLineBreak::borderBoundingBox() const
-{
-    return IntRect(IntPoint(), linesBoundingBox().size());
-}
-
</del><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> void RenderLineBreak::collectSelectionRects(Vector&lt;SelectionRect&gt;&amp; rects, unsigned, unsigned)
</span><span class="cx"> {
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorerenderingRenderLineBreakh"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLineBreak.h (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLineBreak.h        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLineBreak.h        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -82,7 +82,7 @@
</span><span class="cx">     virtual LayoutUnit marginEnd(const RenderStyle*) const override { return 0; }
</span><span class="cx">     virtual LayoutUnit offsetWidth() const override { return linesBoundingBox().width(); }
</span><span class="cx">     virtual LayoutUnit offsetHeight() const override { return linesBoundingBox().height(); }
</span><del>-    virtual IntRect borderBoundingBox() const override;
</del><ins>+    LayoutRect borderBoundingBox() const override { return LayoutRect(LayoutPoint(), linesBoundingBox().size()); }
</ins><span class="cx">     virtual LayoutRect frameRectForStickyPositioning() const override { ASSERT_NOT_REACHED(); return LayoutRect(); }
</span><span class="cx">     virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject*) const override { return LayoutRect(); }
</span><span class="cx"> 
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorerenderingRenderViewcpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderView.cpp (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderView.cpp        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderView.cpp        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -1241,7 +1241,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Prefer the widest object that tries to move the pagination point
</span><del>-    IntRect boundingBox = forRenderer-&gt;borderBoundingBox();
</del><ins>+    LayoutRect boundingBox = forRenderer-&gt;borderBoundingBox();
</ins><span class="cx">     if (boundingBox.width() &gt; m_legacyPrinting.m_truncatorWidth) {
</span><span class="cx">         m_legacyPrinting.m_truncatorWidth = boundingBox.width();
</span><span class="cx">         m_legacyPrinting.m_bestTruncatedAt = y;
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebKit2SharedWebRenderObjectcpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebKit2/Shared/WebRenderObject.cpp (199456 => 199457)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebKit2/Shared/WebRenderObject.cpp        2016-04-13 10:03:22 UTC (rev 199456)
+++ releases/WebKitGTK/webkit-2.12/Source/WebKit2/Shared/WebRenderObject.cpp        2016-04-13 10:21:32 UTC (rev 199457)
</span><span class="lines">@@ -106,7 +106,7 @@
</span><span class="cx">         m_frameRect = downcast&lt;RenderText&gt;(*renderer).linesBoundingBox();
</span><span class="cx">         m_frameRect.setLocation(downcast&lt;RenderText&gt;(*renderer).firstRunLocation());
</span><span class="cx">     } else if (is&lt;RenderInline&gt;(*renderer))
</span><del>-        m_frameRect = downcast&lt;RenderInline&gt;(*renderer).borderBoundingBox();
</del><ins>+        m_frameRect = IntRect(downcast&lt;RenderInline&gt;(*renderer).borderBoundingBox());
</ins><span class="cx"> 
</span><span class="cx">     if (!shouldIncludeDescendants)
</span><span class="cx">         return;
</span></span></pre>
</div>
</div>

</body>
</html>