Title: [111260] trunk/Source/WebCore
- Revision
- 111260
- Author
- [email protected]
- Date
- 2012-03-19 15:27:24 -0700 (Mon, 19 Mar 2012)
Log Message
[chromium] Remove misleading double-if
https://bugs.webkit.org/show_bug.cgi?id=81557
Patch by Dana Jansens <[email protected]> on 2012-03-19
Reviewed by Adrienne Walker.
Simple code cleanup, no functionality change.
* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::prepareToUpdateTiles):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (111259 => 111260)
--- trunk/Source/WebCore/ChangeLog 2012-03-19 22:17:27 UTC (rev 111259)
+++ trunk/Source/WebCore/ChangeLog 2012-03-19 22:27:24 UTC (rev 111260)
@@ -1,3 +1,15 @@
+2012-03-19 Dana Jansens <[email protected]>
+
+ [chromium] Remove misleading double-if
+ https://bugs.webkit.org/show_bug.cgi?id=81557
+
+ Reviewed by Adrienne Walker.
+
+ Simple code cleanup, no functionality change.
+
+ * platform/graphics/chromium/TiledLayerChromium.cpp:
+ (WebCore::TiledLayerChromium::prepareToUpdateTiles):
+
2012-03-19 Eric Seidel <[email protected]>
Fix WTF header include discipline in Chromium WebKit
Modified: trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp (111259 => 111260)
--- trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp 2012-03-19 22:17:27 UTC (rev 111259)
+++ trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp 2012-03-19 22:27:24 UTC (rev 111260)
@@ -474,8 +474,7 @@
// Due to borders, when the paint rect is extended to tile boundaries, it
// may end up overlapping more tiles than the original content rect. Record
// the original tiles so we don't upload more tiles than necessary.
- if (!m_paintRect.isEmpty())
- m_requestedUpdateTilesRect = IntRect(left, top, right - left + 1, bottom - top + 1);
+ m_requestedUpdateTilesRect = IntRect(left, top, right - left + 1, bottom - top + 1);
// Calling prepareToUpdate() calls into WebKit to paint, which may have the side
// effect of disabling compositing, which causes our reference to the texture updater to be deleted.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes