Index: third_party/WebKit/Source/platform/fonts/Font.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/Font.cpp b/third_party/WebKit/Source/platform/fonts/Font.cpp |
index 311d321c36966560472508616a5b4fe376183e11..85803885a622628aaeea13cb3c44e944ee1f5cb3 100644 |
--- a/third_party/WebKit/Source/platform/fonts/Font.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/Font.cpp |
@@ -57,6 +57,8 @@ using namespace Unicode; |
namespace blink { |
Font::Font() |
+ : m_canShapeWordByWord(0) |
+ , m_shapeWordByWordComputed(0) |
{ |
} |
@@ -70,6 +72,9 @@ Font::Font(const FontDescription& fd) |
Font::Font(const Font& other) |
: m_fontDescription(other.m_fontDescription) |
, m_fontFallbackList(other.m_fontFallbackList) |
+ // TODO(yosin): We should have a comment the reason why don't we copy |
+ // |m_canShapeWordByWord| and |m_shapeWordByWordComputed| from |other|, |
+ // since |operator=()| copies them from |other|. |
, m_canShapeWordByWord(0) |
, m_shapeWordByWordComputed(0) |
{ |