| Index: content/public/browser/android/synchronous_compositor.h
|
| diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
|
| index c77d2a87100cdd5451a13c5bf518303cb455fece..5b745a4db38eb3a532fa01e7ea82ff85119e6b9a 100644
|
| --- a/content/public/browser/android/synchronous_compositor.h
|
| +++ b/content/public/browser/android/synchronous_compositor.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "content/common/content_export.h"
|
| +#include "gpu/command_buffer/service/in_process_command_buffer.h"
|
| #include "ui/gfx/rect.h"
|
| #include "ui/gfx/size.h"
|
|
|
| @@ -57,7 +58,9 @@ class CONTENT_EXPORT SynchronousCompositor {
|
| // first created or after ReleaseHwDraw is called. It is invalid to
|
| // DemandDrawHw before this returns true. |surface| is the GLSurface that
|
| // should be used to create the underlying hardware context.
|
| - virtual bool InitializeHwDraw(scoped_refptr<gfx::GLSurface> surface) = 0;
|
| + virtual bool InitializeHwDraw(
|
| + scoped_refptr<gfx::GLSurface> surface,
|
| + scoped_refptr<gpu::InProcessCommandBuffer::Service> service) = 0;
|
|
|
| // Reverse of InitializeHwDraw above. Can only be called while hardware draw
|
| // is already initialized. Brings compositor back to software only mode and
|
|
|