| Index: chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.h
|
| diff --git a/chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.h b/chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.h
|
| index 9542a64114269b89c21d8c5785419b8767f43b46..216f94df745e933821ac798dfd99d4a765d798ff 100644
|
| --- a/chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.h
|
| +++ b/chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.h
|
| @@ -9,16 +9,17 @@
|
|
|
| namespace vr_shell {
|
|
|
| -class InsecureContentTransientTexture : public UITexture {
|
| +class InsecureContentTransientTexture : public UiTexture {
|
| public:
|
| - InsecureContentTransientTexture(int texture_handle, int texture_size);
|
| + InsecureContentTransientTexture();
|
| ~InsecureContentTransientTexture() 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_;
|
| + gfx::SizeF size_;
|
| };
|
|
|
| } // namespace vr_shell
|
|
|