| 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 b5ba9096472fd57ef368437f930d1b3931058562..4d65a8179ff355f8648e9bfdb63f4f71a35437dc 100644
|
| --- a/cc/layers/heads_up_display_layer_impl.cc
|
| +++ b/cc/layers/heads_up_display_layer_impl.cc
|
| @@ -20,9 +20,9 @@
|
| #include "cc/trees/layer_tree_host_impl.h"
|
| #include "cc/trees/layer_tree_impl.h"
|
| #include "skia/ext/platform_canvas.h"
|
| +#include "third_party/skia/include/core/SkCanvas.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "third_party/skia/include/core/SkPath.h"
|
| -#include "third_party/skia/include/core/SkRRect.h"
|
| #include "third_party/skia/include/core/SkTypeface.h"
|
| #include "third_party/skia/include/effects/SkColorMatrixFilter.h"
|
| #include "third_party/skia/include/effects/SkGradientShader.h"
|
| @@ -174,7 +174,7 @@ void HeadsUpDisplayLayerImpl::UpdateHudTexture(
|
|
|
| SkISize canvas_size;
|
| if (hud_surface_)
|
| - canvas_size = hud_surface_->getCanvas()->getDeviceSize();
|
| + canvas_size = hud_surface_->getCanvas()->getBaseLayerSize();
|
| else
|
| canvas_size.set(0, 0);
|
|
|
|
|