summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/command_buffer_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/command_buffer_proxy.cc')
-rw-r--r--chrome/renderer/command_buffer_proxy.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/renderer/command_buffer_proxy.cc b/chrome/renderer/command_buffer_proxy.cc
index 00138a6..aade75f 100644
--- a/chrome/renderer/command_buffer_proxy.cc
+++ b/chrome/renderer/command_buffer_proxy.cc
@@ -4,10 +4,13 @@
#include "base/logging.h"
#include "base/process_util.h"
+#include "base/shared_memory.h"
+#include "base/task.h"
#include "chrome/common/gpu_messages.h"
#include "chrome/common/plugin_messages.h"
#include "chrome/renderer/command_buffer_proxy.h"
#include "chrome/renderer/plugin_channel_host.h"
+#include "gfx/size.h"
#include "gpu/command_buffer/common/cmd_buffer_common.h"
using gpu::Buffer;
@@ -211,6 +214,10 @@ void CommandBufferProxy::ResizeOffscreenFrameBuffer(const gfx::Size& size) {
Send(message);
}
+void CommandBufferProxy::SetNotifyRepaintTask(Task* task) {
+ notify_repaint_task_.reset(task);
+}
+
#if defined(OS_MACOSX)
void CommandBufferProxy::SetWindowSize(const gfx::Size& size) {
Send(new GpuCommandBufferMsg_SetWindowSize(route_id_, size));