Index: content/renderer/render_thread_impl.h |
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h |
index 73981fcc6d598fc0ef5fcacc8357134df7ac159b..5dffc8d8b5cea86d0887984f206380fac223d7dc 100644 |
--- a/content/renderer/render_thread_impl.h |
+++ b/content/renderer/render_thread_impl.h |
@@ -13,6 +13,7 @@ |
#include "base/observer_list.h" |
#include "base/process/process_handle.h" |
#include "base/strings/string16.h" |
+#include "base/threading/thread_checker.h" |
#include "base/timer/timer.h" |
#include "build/build_config.h" |
#include "content/child/child_thread.h" |
@@ -506,6 +507,11 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, |
base::ProcessId renderer_process_id_; |
+ // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from |
+ // multiple threads. Current allocation mechanism for IOSurface |
+ // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
+ base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
}; |