Index: cc/heads_up_display_layer.cc |
diff --git a/cc/heads_up_display_layer.cc b/cc/heads_up_display_layer.cc |
index ef11deecaec42f4ce08121046f0d35e2a4a82da0..4625c5cddbe4f2241a54739e53ee671f3012237e 100644 |
--- a/cc/heads_up_display_layer.cc |
+++ b/cc/heads_up_display_layer.cc |
@@ -18,6 +18,7 @@ scoped_refptr<HeadsUpDisplayLayer> HeadsUpDisplayLayer::create() |
HeadsUpDisplayLayer::HeadsUpDisplayLayer() |
: Layer() |
, m_showFPSCounter(false) |
+ , m_hasFontAtlas(false) |
{ |
setBounds(gfx::Size(256, 128)); |
} |
@@ -57,6 +58,7 @@ void HeadsUpDisplayLayer::setFontAtlas(scoped_ptr<FontAtlas> fontAtlas) |
{ |
m_fontAtlas = fontAtlas.Pass(); |
setNeedsCommit(); |
+ m_hasFontAtlas = true; |
} |
void HeadsUpDisplayLayer::setShowFPSCounter(bool show) |