<!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>[164412] trunk/Source</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/164412">164412</a></dd>
<dt>Author</dt> <dd>zalan@apple.com</dd>
<dt>Date</dt> <dd>2014-02-19 20:13:28 -0800 (Wed, 19 Feb 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Subpixel rendering: Make GraphicsLayer::paintGraphicsLayerContents()'s cliprect FloatRect based.
https://bugs.webkit.org/show_bug.cgi?id=128911

Reviewed by Simon Fraser.

Switching from IntRect to FloatRect makes device pixel position clipping possible.

Covered by existing tests.

* WebCore.exp.in:
* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::paintGraphicsLayerContents):
* platform/graphics/GraphicsLayer.h:
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::platformCALayerPaintContents):
* platform/graphics/ca/GraphicsLayerCA.h:
* platform/graphics/ca/PlatformCALayerClient.h:
* platform/graphics/ca/mac/TileController.h:
* platform/graphics/ca/mac/TileController.mm:
(WebCore::TileController::platformCALayerPaintContents):
* platform/graphics/mac/WebLayer.mm:
(WebCore::drawLayerContents):
(-[WebSimpleLayer drawInContext:]):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCoreexpin">trunk/Source/WebCore/WebCore.exp.in</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsGraphicsLayercpp">trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsGraphicsLayerh">trunk/Source/WebCore/platform/graphics/GraphicsLayer.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsavfoundationcfMediaPlayerPrivateAVFoundationCFcpp">trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAcpp">trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAh">trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscaPlatformCALayerClienth">trunk/Source/WebCore/platform/graphics/ca/PlatformCALayerClient.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscamacTileControllerh">trunk/Source/WebCore/platform/graphics/ca/mac/TileController.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscamacTileControllermm">trunk/Source/WebCore/platform/graphics/ca/mac/TileController.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsmacWebLayermm">trunk/Source/WebCore/platform/graphics/mac/WebLayer.mm</a></li>
<li><a href="#trunkSourceWebKitwinFullscreenVideoControllercpp">trunk/Source/WebKit/win/FullscreenVideoController.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/ChangeLog        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -1,5 +1,31 @@
</span><span class="cx"> 2014-02-19  Zalan Bujtas  &lt;zalan@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Subpixel rendering: Make GraphicsLayer::paintGraphicsLayerContents()'s cliprect FloatRect based.
+        https://bugs.webkit.org/show_bug.cgi?id=128911
+
+        Reviewed by Simon Fraser.
+
+        Switching from IntRect to FloatRect makes device pixel position clipping possible.
+
+        Covered by existing tests.
+
+        * WebCore.exp.in:
+        * platform/graphics/GraphicsLayer.cpp:
+        (WebCore::GraphicsLayer::paintGraphicsLayerContents):
+        * platform/graphics/GraphicsLayer.h:
+        * platform/graphics/ca/GraphicsLayerCA.cpp:
+        (WebCore::GraphicsLayerCA::platformCALayerPaintContents):
+        * platform/graphics/ca/GraphicsLayerCA.h:
+        * platform/graphics/ca/PlatformCALayerClient.h:
+        * platform/graphics/ca/mac/TileController.h:
+        * platform/graphics/ca/mac/TileController.mm:
+        (WebCore::TileController::platformCALayerPaintContents):
+        * platform/graphics/mac/WebLayer.mm:
+        (WebCore::drawLayerContents):
+        (-[WebSimpleLayer drawInContext:]):
+
+2014-02-19  Zalan Bujtas  &lt;zalan@apple.com&gt;
+
</ins><span class="cx">         Subpixel rendering: (RenderLayer)Pass non-css-pixel-snapped dirty rects to PaintInfo when painting renderer().
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=128913
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCoreexpin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.exp.in (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.exp.in        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/WebCore.exp.in        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -566,7 +566,7 @@
</span><span class="cx"> __ZN7WebCore15GraphicsLayerCA23setContentsToSolidColorERKNS_5ColorE
</span><span class="cx"> __ZN7WebCore15GraphicsLayerCA23setDebugBackgroundColorERKNS_5ColorE
</span><span class="cx"> __ZN7WebCore15GraphicsLayerCA26setMaintainsPixelAlignmentEb
</span><del>-__ZN7WebCore15GraphicsLayerCA28platformCALayerPaintContentsEPNS_15PlatformCALayerERNS_15GraphicsContextERKNS_7IntRectE
</del><ins>+__ZN7WebCore15GraphicsLayerCA28platformCALayerPaintContentsEPNS_15PlatformCALayerERNS_15GraphicsContextERKNS_9FloatRectE
</ins><span class="cx"> __ZN7WebCore15GraphicsLayerCA30deviceOrPageScaleFactorChangedEv
</span><span class="cx"> __ZN7WebCore15GraphicsLayerCA31platformCALayerAnimationStartedEd
</span><span class="cx"> __ZN7WebCore15GraphicsLayerCA37flushCompositingStateForThisLayerOnlyEv
</span><span class="lines">@@ -1884,7 +1884,7 @@
</span><span class="cx"> __ZTVN7WebCore28InspectorFrontendClientLocal8SettingsE
</span><span class="cx"> __ZTVN7WebCore31BasicColorMatrixFilterOperationE
</span><span class="cx"> __ZTVN7WebCore37BasicComponentTransferFilterOperationE
</span><del>-__ZThn???_N7WebCore15GraphicsLayerCA28platformCALayerPaintContentsEPNS_15PlatformCALayerERNS_15GraphicsContextERKNS_7IntRectE
</del><ins>+__ZThn???_N7WebCore15GraphicsLayerCA28platformCALayerPaintContentsEPNS_15PlatformCALayerERNS_15GraphicsContextERKNS_9FloatRectE
</ins><span class="cx"> __ZThn???_N7WebCore15GraphicsLayerCA31platformCALayerAnimationStartedEd
</span><span class="cx"> __ZThn???_N7WebCore15GraphicsLayerCA40platformCALayerSetNeedsToRevalidateTilesEv
</span><span class="cx"> __ZThn???_NK7WebCore15GraphicsLayerCA32platformCALayerDeviceScaleFactorEv
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsGraphicsLayercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -324,13 +324,13 @@
</span><span class="cx">     m_backgroundColor = color;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void GraphicsLayer::paintGraphicsLayerContents(GraphicsContext&amp; context, const IntRect&amp; clip)
</del><ins>+void GraphicsLayer::paintGraphicsLayerContents(GraphicsContext&amp; context, const FloatRect&amp; clip)
</ins><span class="cx"> {
</span><span class="cx">     if (m_client) {
</span><span class="cx">         IntSize offset = offsetFromRenderer();
</span><span class="cx">         context.translate(-offset);
</span><span class="cx"> 
</span><del>-        IntRect clipRect(clip);
</del><ins>+        FloatRect clipRect(clip);
</ins><span class="cx">         clipRect.move(offset);
</span><span class="cx"> 
</span><span class="cx">         m_client-&gt;paintContents(this, context, m_paintingPhase, clipRect);
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsGraphicsLayerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/GraphicsLayer.h (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/GraphicsLayer.h        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/GraphicsLayer.h        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -411,7 +411,7 @@
</span><span class="cx">     virtual bool hasContentsLayer() const { return false; }
</span><span class="cx"> 
</span><span class="cx">     // Callback from the underlying graphics system to draw layer contents.
</span><del>-    void paintGraphicsLayerContents(GraphicsContext&amp;, const IntRect&amp; clip);
</del><ins>+    void paintGraphicsLayerContents(GraphicsContext&amp;, const FloatRect&amp; clip);
</ins><span class="cx">     // Callback from the underlying graphics system when the layer has been displayed
</span><span class="cx">     virtual void layerDidDisplay(PlatformLayer*) { }
</span><span class="cx">     
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsavfoundationcfMediaPlayerPrivateAVFoundationCFcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -186,7 +186,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual void platformCALayerAnimationStarted(CFTimeInterval beginTime) { }
</span><span class="cx">     virtual GraphicsLayer::CompositingCoordinatesOrientation platformCALayerContentsOrientation() const { return GraphicsLayer::CompositingCoordinatesBottomUp; }
</span><del>-    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const IntRect&amp; inClip) { }
</del><ins>+    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const FloatRect&amp;) { }
</ins><span class="cx">     virtual bool platformCALayerShowDebugBorders() const { return false; }
</span><span class="cx">     virtual bool platformCALayerShowRepaintCounter(PlatformCALayer*) const { return false; }
</span><span class="cx">     virtual int platformCALayerIncrementRepaintCount(PlatformCALayer*) { return 0; }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -1274,7 +1274,7 @@
</span><span class="cx">     return isShowingRepaintCounter();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void GraphicsLayerCA::platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp; context, const IntRect&amp; clip)
</del><ins>+void GraphicsLayerCA::platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp; context, const FloatRect&amp; clip)
</ins><span class="cx"> {
</span><span class="cx">     paintGraphicsLayerContents(context, clip);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -181,7 +181,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual void platformCALayerAnimationStarted(CFTimeInterval beginTime);
</span><span class="cx">     virtual CompositingCoordinatesOrientation platformCALayerContentsOrientation() const { return contentsOrientation(); }
</span><del>-    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const IntRect&amp; clip);
</del><ins>+    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const FloatRect&amp; clip);
</ins><span class="cx">     virtual bool platformCALayerShowDebugBorders() const { return isShowingDebugBorder(); }
</span><span class="cx">     virtual bool platformCALayerShowRepaintCounter(PlatformCALayer*) const;
</span><span class="cx">     virtual int platformCALayerIncrementRepaintCount(PlatformCALayer*) { return incrementRepaintCount(); }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscaPlatformCALayerClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/PlatformCALayerClient.h (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/PlatformCALayerClient.h        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/ca/PlatformCALayerClient.h        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual void platformCALayerAnimationStarted(CFTimeInterval beginTime) = 0;
</span><span class="cx">     virtual GraphicsLayer::CompositingCoordinatesOrientation platformCALayerContentsOrientation() const = 0;
</span><del>-    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const IntRect&amp; inClip) = 0;
</del><ins>+    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const FloatRect&amp; inClip) = 0;
</ins><span class="cx">     virtual bool platformCALayerShowDebugBorders() const = 0;
</span><span class="cx">     virtual bool platformCALayerShowRepaintCounter(PlatformCALayer*) const = 0;
</span><span class="cx">     virtual int platformCALayerIncrementRepaintCount(PlatformCALayer*) = 0;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscamacTileControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/mac/TileController.h (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/mac/TileController.h        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/ca/mac/TileController.h        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -138,7 +138,7 @@
</span><span class="cx">     virtual bool platformCALayerRespondsToLayoutChanges() const override { return false; }
</span><span class="cx">     virtual void platformCALayerAnimationStarted(CFTimeInterval) override { }
</span><span class="cx">     virtual GraphicsLayer::CompositingCoordinatesOrientation platformCALayerContentsOrientation() const override { return GraphicsLayer::CompositingCoordinatesTopDown; }
</span><del>-    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const IntRect&amp;) override;
</del><ins>+    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const FloatRect&amp;) override;
</ins><span class="cx">     virtual bool platformCALayerShowDebugBorders() const override;
</span><span class="cx">     virtual bool platformCALayerShowRepaintCounter(PlatformCALayer*) const override;
</span><span class="cx">     virtual int platformCALayerIncrementRepaintCount(PlatformCALayer*) override;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscamacTileControllermm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/mac/TileController.mm (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/mac/TileController.mm        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/ca/mac/TileController.mm        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -171,7 +171,7 @@
</span><span class="cx">         tileInfo.hasStaleContent = true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void TileController::platformCALayerPaintContents(PlatformCALayer* platformCALayer, GraphicsContext&amp; context, const IntRect&amp;)
</del><ins>+void TileController::platformCALayerPaintContents(PlatformCALayer* platformCALayer, GraphicsContext&amp; context, const FloatRect&amp;)
</ins><span class="cx"> {
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx">     if (pthread_main_np())
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsmacWebLayermm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/mac/WebLayer.mm (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/mac/WebLayer.mm        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebCore/platform/graphics/mac/WebLayer.mm        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -134,7 +134,7 @@
</span><span class="cx">         GraphicsContextStateSaver stateSaver(graphicsContext);
</span><span class="cx">         graphicsContext.clip(rect);
</span><span class="cx"> 
</span><del>-        layerContents-&gt;platformCALayerPaintContents(platformCALayer, graphicsContext, enclosingIntRect(rect));
</del><ins>+        layerContents-&gt;platformCALayerPaintContents(platformCALayer, graphicsContext, rect);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="lines">@@ -274,7 +274,7 @@
</span><span class="cx">         graphicsContext.setIsAcceleratedContext(layer-&gt;acceleratesDrawing());
</span><span class="cx"> 
</span><span class="cx">         FloatRect clipBounds = CGContextGetClipBoundingBox(context);
</span><del>-        layer-&gt;owner()-&gt;platformCALayerPaintContents(layer, graphicsContext, enclosingIntRect(clipBounds));
</del><ins>+        layer-&gt;owner()-&gt;platformCALayerPaintContents(layer, graphicsContext, clipBounds);
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitwinFullscreenVideoControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/FullscreenVideoController.cpp (164411 => 164412)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/FullscreenVideoController.cpp        2014-02-20 03:39:17 UTC (rev 164411)
+++ trunk/Source/WebKit/win/FullscreenVideoController.cpp        2014-02-20 04:13:28 UTC (rev 164412)
</span><span class="lines">@@ -186,7 +186,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual void platformCALayerAnimationStarted(CFTimeInterval beginTime) { }
</span><span class="cx">     virtual GraphicsLayer::CompositingCoordinatesOrientation platformCALayerContentsOrientation() const { return GraphicsLayer::CompositingCoordinatesBottomUp; }
</span><del>-    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const IntRect&amp; inClip) { }
</del><ins>+    virtual void platformCALayerPaintContents(PlatformCALayer*, GraphicsContext&amp;, const FloatRect&amp;) { }
</ins><span class="cx">     virtual bool platformCALayerShowDebugBorders() const { return false; }
</span><span class="cx">     virtual bool platformCALayerShowRepaintCounter(PlatformCALayer*) const { return false; }
</span><span class="cx">     virtual int platformCALayerIncrementRepaintCount(PlatformCALayer*) { return 0; }
</span></span></pre>
</div>
</div>

</body>
</html>