| Index: cc/layers/heads_up_display_layer_impl.cc
|
| diff --git a/cc/layers/heads_up_display_layer_impl.cc b/cc/layers/heads_up_display_layer_impl.cc
|
| index 986c332e406c7ac64f6ef5538b212a758c2f1725..57d658c5e2da904dba274d10aa0d5416cbde53f5 100644
|
| --- a/cc/layers/heads_up_display_layer_impl.cc
|
| +++ b/cc/layers/heads_up_display_layer_impl.cc
|
| @@ -383,7 +383,8 @@ SkRect HeadsUpDisplayLayerImpl::DrawFPSDisplay(
|
|
|
| const int kFontHeight = 15;
|
|
|
| - const int kGraphWidth = fps_counter->time_stamp_history_size() - 2;
|
| + const int kGraphWidth =
|
| + static_cast<int>(fps_counter->time_stamp_history_size()) - 2;
|
| const int kGraphHeight = 40;
|
|
|
| const int kHistogramWidth = 37;
|
| @@ -625,7 +626,7 @@ SkRect HeadsUpDisplayLayerImpl::DrawPaintTimeDisplay(
|
| const int kPadding = 4;
|
| const int kFontHeight = 14;
|
|
|
| - const int kGraphWidth = paint_time_counter->HistorySize();
|
| + const int kGraphWidth = static_cast<int>(paint_time_counter->HistorySize());
|
| const int kGraphHeight = 40;
|
|
|
| SkPaint paint = CreatePaint();
|
|
|