Title: [117109] trunk/Source/WebCore
- Revision
- 117109
- Author
- [email protected]
- Date
- 2012-05-15 11:53:21 -0700 (Tue, 15 May 2012)
Log Message
Font copy constructor unnecessarily recalculates transcoding
https://bugs.webkit.org/show_bug.cgi?id=86490
Reviewed by Dan Bernstein.
* platform/graphics/Font.cpp:
(WebCore::Font::Font): Copy m_needsTranscoding instead of recomputing it.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (117108 => 117109)
--- trunk/Source/WebCore/ChangeLog 2012-05-15 18:51:02 UTC (rev 117108)
+++ trunk/Source/WebCore/ChangeLog 2012-05-15 18:53:21 UTC (rev 117109)
@@ -1,3 +1,13 @@
+2012-05-15 Darin Adler <[email protected]>
+
+ Font copy constructor unnecessarily recalculates transcoding
+ https://bugs.webkit.org/show_bug.cgi?id=86490
+
+ Reviewed by Dan Bernstein.
+
+ * platform/graphics/Font.cpp:
+ (WebCore::Font::Font): Copy m_needsTranscoding instead of recomputing it.
+
2012-05-15 Andreas Kling <[email protected]>
Deep copy PluginModuleInfo before passing across thread boundary.
Modified: trunk/Source/WebCore/platform/graphics/Font.cpp (117108 => 117109)
--- trunk/Source/WebCore/platform/graphics/Font.cpp 2012-05-15 18:51:02 UTC (rev 117108)
+++ trunk/Source/WebCore/platform/graphics/Font.cpp 2012-05-15 18:53:21 UTC (rev 117109)
@@ -93,7 +93,7 @@
, m_letterSpacing(other.m_letterSpacing)
, m_wordSpacing(other.m_wordSpacing)
, m_isPlatformFont(other.m_isPlatformFont)
- , m_needsTranscoding(fontTranscoder().needsTranscoding(other.m_fontDescription))
+ , m_needsTranscoding(other.m_needsTranscoding)
{
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes