| Index: ui/gl/gl_context_cgl.h
|
| diff --git a/ui/gl/gl_context_cgl.h b/ui/gl/gl_context_cgl.h
|
| index bad2e3aff0b4468fb56f53763de9e88c9a927559..005293bbfce26cd5159d31231fb449ef455452fb 100644
|
| --- a/ui/gl/gl_context_cgl.h
|
| +++ b/ui/gl/gl_context_cgl.h
|
| @@ -29,6 +29,7 @@ class GLContextCGL : public GLContext {
|
| virtual void* GetHandle() OVERRIDE;
|
| virtual void SetSwapInterval(int interval) OVERRIDE;
|
| virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE;
|
| + virtual void SetSafeToForceGpuSwitch() OVERRIDE;
|
|
|
| protected:
|
| virtual ~GLContextCGL();
|
| @@ -43,6 +44,7 @@ class GLContextCGL : public GLContext {
|
|
|
| int screen_;
|
| int renderer_id_;
|
| + bool safe_to_force_gpu_switch_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GLContextCGL);
|
| };
|
|
|