Chromium Code Reviews| Index: Source/platform/fonts/shaping/HarfBuzzShaper.cpp |
| diff --git a/Source/platform/fonts/shaping/HarfBuzzShaper.cpp b/Source/platform/fonts/shaping/HarfBuzzShaper.cpp |
| index 5a8d259d135af7f7dc8974cb8232cf9c2d9bbded..8ae844589e735d506a73b10eb121e2cf62d89b59 100644 |
| --- a/Source/platform/fonts/shaping/HarfBuzzShaper.cpp |
| +++ b/Source/platform/fonts/shaping/HarfBuzzShaper.cpp |
| @@ -538,10 +538,10 @@ void HarfBuzzShaper::setFontFeatures() |
| bool HarfBuzzShaper::shape(GlyphBuffer* glyphBuffer) |
| { |
| + m_totalWidth = 0; |
|
Daniel Erat
2015/04/27 15:42:21
mind initializing it in the c'tor as well? having
|
| if (!createHarfBuzzRuns()) |
| return false; |
| - m_totalWidth = 0; |
| if (!shapeHarfBuzzRuns()) |
| return false; |