| Index: chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h
|
| diff --git a/chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h b/chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h
|
| index 4494bbc8c9ed75732b1e4905eca7c3ff6cf1659c..2b42a2e611182e9f3fc35cff1d0742cf02f1e669 100644
|
| --- a/chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h
|
| +++ b/chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h
|
| @@ -30,8 +30,10 @@ class SimpleTexturedElement : public TexturedElement {
|
| ~SimpleTexturedElement() override {}
|
| T* GetDerivedTexture() { return texture_.get(); }
|
|
|
| - private:
|
| + protected:
|
| UiTexture* GetTexture() const override { return texture_.get(); }
|
| +
|
| + private:
|
| std::unique_ptr<T> texture_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SimpleTexturedElement);
|
| @@ -42,7 +44,6 @@ typedef SimpleTexturedElement<InsecureContentPermanentTexture>
|
| PermanentSecurityWarning;
|
| typedef SimpleTexturedElement<InsecureContentTransientTexture>
|
| TransientSecurityWarning;
|
| -typedef SimpleTexturedElement<ExclusiveScreenToastTexture> ExclusiveScreenToast;
|
| typedef SimpleTexturedElement<SplashScreenIconTexture> SplashScreenIcon;
|
|
|
| } // namespace vr_shell
|
|
|