| Index: chrome/browser/android/vr_shell/mailbox_to_surface_bridge.h
|
| diff --git a/chrome/browser/android/vr_shell/mailbox_to_surface_bridge.h b/chrome/browser/android/vr_shell/mailbox_to_surface_bridge.h
|
| index 8ba1540a127eb590311680e157f2527fa9e7ab11..1704de325ba7f76d1f64d7614a02d4edef439cf2 100644
|
| --- a/chrome/browser/android/vr_shell/mailbox_to_surface_bridge.h
|
| +++ b/chrome/browser/android/vr_shell/mailbox_to_surface_bridge.h
|
| @@ -8,6 +8,7 @@
|
| #include "base/memory/weak_ptr.h"
|
|
|
| namespace gl {
|
| +class ScopedJavaSurface;
|
| class SurfaceTexture;
|
| }
|
|
|
| @@ -39,7 +40,8 @@ class MailboxToSurfaceBridge {
|
| bool CopyMailboxToSurfaceAndSwap(const gpu::MailboxHolder& mailbox);
|
|
|
| private:
|
| - void OnContextAvailable(scoped_refptr<cc::ContextProvider>);
|
| + void OnContextAvailable(std::unique_ptr<gl::ScopedJavaSurface> surface,
|
| + scoped_refptr<cc::ContextProvider>);
|
| void InitializeRenderer();
|
| void DestroyContext();
|
| void DrawQuad(unsigned int textureHandle);
|
|
|