Index: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h |
=================================================================== |
--- content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h (revision 98655) |
+++ content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h (working copy) |
@@ -11,6 +11,7 @@ |
#include <vector> |
#include "base/memory/scoped_ptr.h" |
+#include "base/task.h" |
#include "content/renderer/gpu/renderer_gl_context.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebGraphicsContext3D.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
@@ -468,6 +469,9 @@ |
// Errors raised by synthesizeGLError(). |
std::vector<WGC3Denum> synthetic_errors_; |
+ ScopedRunnableMethodFactory<WebGraphicsContext3DCommandBufferImpl> |
+ method_factory_; |
+ |
#ifdef FLIP_FRAMEBUFFER_VERTICALLY |
scoped_array<uint8> scanline_; |
void FlipVertically(uint8* framebuffer, |