[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.21-584-g1e41756
eric at webkit.org
eric at webkit.org
Fri Feb 26 22:27:05 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 0ecd2c092b2b9641013466aa4c8e41e7ea15a86c
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Feb 22 14:26:13 2010 +0000
2010-02-22 Steve Block <steveblock at google.com>
Reviewed by Simon Fraser.
Simplifies calculation of the transform in RenderLayer::paintLayer
https://bugs.webkit.org/show_bug.cgi?id=35101
No new tests, optimization only.
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayer):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index d7881f6..e352381 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-02-22 Steve Block <steveblock at google.com>
+
+ Reviewed by Simon Fraser.
+
+ Simplifies calculation of the transform in RenderLayer::paintLayer
+ https://bugs.webkit.org/show_bug.cgi?id=35101
+
+ No new tests, optimization only.
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintLayer):
+
2010-02-22 Nicholas Young <nicholas.young at nokia.com>
Reviewed by Tor Arne Vestbø.
diff --git a/WebCore/rendering/RenderLayer.cpp b/WebCore/rendering/RenderLayer.cpp
index 64ee729..8111d6a 100644
--- a/WebCore/rendering/RenderLayer.cpp
+++ b/WebCore/rendering/RenderLayer.cpp
@@ -2232,9 +2232,8 @@ void RenderLayer::paintLayer(RenderLayer* rootLayer, GraphicsContext* p,
int x = 0;
int y = 0;
convertToLayerCoords(rootLayer, x, y);
- TransformationMatrix transform;
- transform.translate(x, y);
- transform = layerTransform * transform;
+ TransformationMatrix transform(layerTransform);
+ transform.translateRight(x, y);
// Apply the transform.
p->save();
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list