| Index: chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h
|
| diff --git a/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h b/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h
|
| index d492b1d58dc5dcff8a906fe3daf3f67f525931ee..55f774590bf3c925b070354d7afd58ff602d3394 100644
|
| --- a/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h
|
| +++ b/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h
|
| @@ -9,17 +9,17 @@
|
|
|
| namespace vr_shell {
|
|
|
| -class InsecureContentPermanentTexture : public UITexture {
|
| +class InsecureContentPermanentTexture : public UiTexture {
|
| public:
|
| - InsecureContentPermanentTexture(int texture_handle, int texture_size);
|
| + InsecureContentPermanentTexture();
|
| ~InsecureContentPermanentTexture() override;
|
| + gfx::Size GetPreferredTextureSize(int width) const override;
|
| + gfx::SizeF GetDrawnSize() const override;
|
|
|
| private:
|
| - void Draw(gfx::Canvas* canvas) override;
|
| - void SetSize() override;
|
| + void Draw(gfx::Canvas* canvas, const gfx::Size& texture_size) override;
|
|
|
| - int height_;
|
| - int width_;
|
| + gfx::SizeF size_;
|
| };
|
|
|
| } // namespace vr_shell
|
|
|