| Index: gpu/blink/webgraphicscontext3d_impl.h
|
| diff --git a/gpu/blink/webgraphicscontext3d_impl.h b/gpu/blink/webgraphicscontext3d_impl.h
|
| index 91774ccf797010cf58747849634087342ee3afda..0dc5bc58bf3715c346dfbbdacc5aaff977e3537a 100644
|
| --- a/gpu/blink/webgraphicscontext3d_impl.h
|
| +++ b/gpu/blink/webgraphicscontext3d_impl.h
|
| @@ -52,13 +52,21 @@
|
|
|
| WebGraphicsContext3DImpl();
|
|
|
| + ::gpu::gles2::GLES2ImplementationErrorMessageCallback*
|
| + getErrorMessageCallback();
|
| + virtual void OnErrorMessage(const std::string& message, int id);
|
| +
|
| void SetGLInterface(::gpu::gles2::GLES2Interface* gl) { gl_ = gl; }
|
|
|
| bool initialized_;
|
| bool initialize_failed_;
|
|
|
| - WebGraphicsContextLostCallback* context_lost_callback_;
|
| - WebGraphicsErrorMessageCallback* error_message_callback_;
|
| + WebGraphicsContext3D::WebGraphicsContextLostCallback* context_lost_callback_;
|
| +
|
| + WebGraphicsContext3D::WebGraphicsErrorMessageCallback*
|
| + error_message_callback_;
|
| + scoped_ptr<WebGraphicsContext3DErrorMessageCallback>
|
| + client_error_message_callback_;
|
|
|
| ::gpu::gles2::GLES2Interface* gl_;
|
| bool lose_context_when_out_of_memory_;
|
|
|