| 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 4624e64c5fe6b80691c6bf1479e98d0db91c93fd..73a45474f4466e6dc323f995f0aa5167b2b9add9 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"
|
| @@ -186,7 +186,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);
|
|
|
|
|