| Index: chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| diff --git a/chrome/browser/android/vr_shell/textures/ui_texture.cc b/chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| index b5edf11cafcede42e9f3c72f548c09787a5aa0e8..67570c909c589ec33901e712dd47d89843fca330 100644
|
| --- a/chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| +++ b/chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| @@ -30,10 +30,8 @@ UiTexture::UiTexture() = default;
|
| UiTexture::~UiTexture() = default;
|
|
|
| void UiTexture::DrawAndLayout(SkCanvas* canvas, const gfx::Size& texture_size) {
|
| - cc::SkiaPaintCanvas paint_canvas(canvas);
|
| - gfx::Canvas gfx_canvas(&paint_canvas, 1.0f);
|
| - gfx_canvas.DrawColor(SK_ColorTRANSPARENT);
|
| - Draw(&gfx_canvas, texture_size);
|
| + canvas->drawColor(SK_ColorTRANSPARENT);
|
| + Draw(canvas, texture_size);
|
| }
|
|
|
| bool UiTexture::IsRTL() {
|
|
|