Chromium Code Reviews| Index: Source/WebKit/chromium/src/WebFontImpl.cpp |
| diff --git a/Source/WebKit/chromium/src/WebFontImpl.cpp b/Source/WebKit/chromium/src/WebFontImpl.cpp |
| index b34cf43e12aeca193f014d0c6941023e68dd76a6..8ca57248551bccf6c3a85505126b0177dcb238b4 100644 |
| --- a/Source/WebKit/chromium/src/WebFontImpl.cpp |
| +++ b/Source/WebKit/chromium/src/WebFontImpl.cpp |
| @@ -102,7 +102,7 @@ void WebFontImpl::drawText(WebCanvas* canvas, const WebTextRun& run, const WebFl |
| gc.setShouldSmoothFonts(canvasIsOpaque); |
| gc.setFillColor(color, ColorSpaceDeviceRGB); |
| gc.clip(WebCore::FloatRect(clip)); |
| - m_font.drawText(&gc, run, leftBaseline, from, to); |
| + m_font.drawText(&gc, run, leftBaseline, WebCore::FloatRect(clip), from, to); |
|
eseidel
2013/04/18 21:04:38
nit: Seems like a local would be useful. We do th
alokp
2013/04/18 22:22:37
Done.
|
| gc.restore(); |
| #if defined(WIN32) |