| Index: content/renderer/gpu/command_buffer_proxy.cc
|
| diff --git a/content/renderer/gpu/command_buffer_proxy.cc b/content/renderer/gpu/command_buffer_proxy.cc
|
| index d51f840c8166cae9a6af178c13456ed6f6f159af..5594970aed9f92360fb3795d0639d4a244db6008 100644
|
| --- a/content/renderer/gpu/command_buffer_proxy.cc
|
| +++ b/content/renderer/gpu/command_buffer_proxy.cc
|
| @@ -49,6 +49,7 @@ bool CommandBufferProxy::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_NotifyRepaint,
|
| OnNotifyRepaint);
|
| IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_EchoAck, OnEchoAck);
|
| + IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_ConsoleMsg, OnConsoleMessage);
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
|
|
| @@ -87,6 +88,13 @@ void CommandBufferProxy::OnEchoAck() {
|
| callback.Run();
|
| }
|
|
|
| +void CommandBufferProxy::OnConsoleMessage(
|
| + const GPUCommandBufferConsoleMessage& message) {
|
| + // TODO(gman): Pass this on to the console.
|
| + DLOG(INFO) << "CONSOLE_MESSAGE: "
|
| + << message.id << " : " << message.message;
|
| +}
|
| +
|
| void CommandBufferProxy::SetChannelErrorCallback(
|
| const base::Closure& callback) {
|
| channel_error_callback_ = callback;
|
|
|