Title: [154984] trunk/Source/WebCore
- Revision
- 154984
- Author
- commit-qu...@webkit.org
- Date
- 2013-09-03 07:50:53 -0700 (Tue, 03 Sep 2013)
Log Message
[WinCairo] Unneeded code in method GlyphPage::fill().
https://bugs.webkit.org/show_bug.cgi?id=120634
Patch by pe...@outlook.com <pe...@outlook.com> on 2013-09-03
Reviewed by Andreas Kling.
* platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp:
(WebCore::GlyphPage::fill): Remove unneeded call to GetTextMetrics() function.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (154983 => 154984)
--- trunk/Source/WebCore/ChangeLog 2013-09-03 14:47:01 UTC (rev 154983)
+++ trunk/Source/WebCore/ChangeLog 2013-09-03 14:50:53 UTC (rev 154984)
@@ -1,3 +1,13 @@
+2013-09-03 pe...@outlook.com <pe...@outlook.com>
+
+ [WinCairo] Unneeded code in method GlyphPage::fill().
+ https://bugs.webkit.org/show_bug.cgi?id=120634
+
+ Reviewed by Andreas Kling.
+
+ * platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp:
+ (WebCore::GlyphPage::fill): Remove unneeded call to GetTextMetrics() function.
+
2013-09-03 Mihnea Ovidenie <mih...@adobe.com>
[CSSRegions] Pseudo-elements as regions should not be exposed to JS
Modified: trunk/Source/WebCore/platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp (154983 => 154984)
--- trunk/Source/WebCore/platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp 2013-09-03 14:47:01 UTC (rev 154983)
+++ trunk/Source/WebCore/platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp 2013-09-03 14:50:53 UTC (rev 154984)
@@ -46,9 +46,6 @@
SaveDC(dc);
SelectObject(dc, fontData->platformData().hfont());
- TEXTMETRIC tm;
- GetTextMetrics(dc, &tm);
-
WORD localGlyphBuffer[GlyphPage::size * 2];
DWORD result = GetGlyphIndices(dc, buffer, bufferLength, localGlyphBuffer, 0);
bool success = result != GDI_ERROR && static_cast<unsigned>(result) == bufferLength;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes