Title: [135624] trunk/Source/WebKit2
- Revision
- 135624
- Author
- [email protected]
- Date
- 2012-11-23 09:10:03 -0800 (Fri, 23 Nov 2012)
Log Message
Coordinated Graphics: Match the behavior of selfOrAncestorHaveNonAffineTransforms() to its name.
https://bugs.webkit.org/show_bug.cgi?id=103097
Patch by Huang Dongsung <[email protected]> on 2012-11-23
Reviewed by Noam Rosenthal.
CoordinatedGraphicsLayer::selfOrAncestorHaveNonAffineTransforms() does
not check its ancestor. This patch makes this method check its ancestor
to match its name.
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::selfOrAncestorHaveNonAffineTransforms):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (135623 => 135624)
--- trunk/Source/WebKit2/ChangeLog 2012-11-23 17:06:32 UTC (rev 135623)
+++ trunk/Source/WebKit2/ChangeLog 2012-11-23 17:10:03 UTC (rev 135624)
@@ -1,5 +1,19 @@
2012-11-23 Huang Dongsung <[email protected]>
+ Coordinated Graphics: Match the behavior of selfOrAncestorHaveNonAffineTransforms() to its name.
+ https://bugs.webkit.org/show_bug.cgi?id=103097
+
+ Reviewed by Noam Rosenthal.
+
+ CoordinatedGraphicsLayer::selfOrAncestorHaveNonAffineTransforms() does
+ not check its ancestor. This patch makes this method check its ancestor
+ to match its name.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::selfOrAncestorHaveNonAffineTransforms):
+
+2012-11-23 Huang Dongsung <[email protected]>
+
Coordinated Graphics: LayerTreeRenderer::removeTile() does not remove tiles actually.
https://bugs.webkit.org/show_bug.cgi?id=103030
Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp (135623 => 135624)
--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp 2012-11-23 17:06:32 UTC (rev 135623)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp 2012-11-23 17:10:03 UTC (rev 135624)
@@ -860,7 +860,10 @@
if (!m_layerTransform.combined().isAffine())
return true;
- return false;
+ if (!parent())
+ return false;
+
+ return toCoordinatedGraphicsLayer(parent())->selfOrAncestorHaveNonAffineTransforms();
}
bool CoordinatedGraphicsLayer::addAnimation(const KeyframeValueList& valueList, const IntSize& boxSize, const Animation* anim, const String& keyframesName, double delayAsNegativeTimeOffset)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes