Title: [92197] trunk/Source/WebCore
- Revision
- 92197
- Author
- [email protected]
- Date
- 2011-08-02 09:34:36 -0700 (Tue, 02 Aug 2011)
Log Message
[Qt] Simplify Path::translate() implementation.
https://bugs.webkit.org/show_bug.cgi?id=65540
Patch by Andreas Kling <[email protected]> on 2011-08-02
Reviewed by Benjamin Poulain.
* platform/graphics/qt/PathQt.cpp:
(WebCore::Path::translate):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (92196 => 92197)
--- trunk/Source/WebCore/ChangeLog 2011-08-02 15:59:55 UTC (rev 92196)
+++ trunk/Source/WebCore/ChangeLog 2011-08-02 16:34:36 UTC (rev 92197)
@@ -1,3 +1,13 @@
+2011-08-02 Andreas Kling <[email protected]>
+
+ [Qt] Simplify Path::translate() implementation.
+ https://bugs.webkit.org/show_bug.cgi?id=65540
+
+ Reviewed by Benjamin Poulain.
+
+ * platform/graphics/qt/PathQt.cpp:
+ (WebCore::Path::translate):
+
2011-07-30 Pavel Podivilov <[email protected]>
Web Inspector: merge FormattedSourceFile into SourceFile.
Modified: trunk/Source/WebCore/platform/graphics/qt/PathQt.cpp (92196 => 92197)
--- trunk/Source/WebCore/platform/graphics/qt/PathQt.cpp 2011-08-02 15:59:55 UTC (rev 92196)
+++ trunk/Source/WebCore/platform/graphics/qt/PathQt.cpp 2011-08-02 16:34:36 UTC (rev 92197)
@@ -144,9 +144,7 @@
void Path::translate(const FloatSize& size)
{
- QTransform matrix;
- matrix.translate(size.width(), size.height());
- m_path = m_path * matrix;
+ m_path.translate(size.width(), size.height());
}
FloatRect Path::boundingRect() const
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes