| 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 4c68b42b6b057299a96ff3cf5d60b91d913f5536..537d3f2259f6f3f419cbff25efc8db71aa26f5bc 100644
|
| --- a/chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| +++ b/chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| @@ -31,6 +31,13 @@ UiTexture::UiTexture() = default;
|
|
|
| UiTexture::~UiTexture() = default;
|
|
|
| +bool UiTexture::SetDrawFlags(int draw_flags) {
|
| + if (draw_flags == draw_flags_)
|
| + return false;
|
| + draw_flags_ = draw_flags;
|
| + return true;
|
| +}
|
| +
|
| void UiTexture::DrawAndLayout(SkCanvas* canvas, const gfx::Size& texture_size) {
|
| canvas->drawColor(SK_ColorTRANSPARENT);
|
| Draw(canvas, texture_size);
|
|
|