diff options
author | hshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 23:35:23 +0000 |
---|---|---|
committer | hshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 23:35:23 +0000 |
commit | 0d78ec0e128c1e2b16ff8a5b8cc20d5368f3d5a3 (patch) | |
tree | a315bfa5ec63772d08e63f1d8949b721e0ac452b /content/renderer/render_thread_impl.h | |
parent | 6668e5d092c93131a8ba9735a08c9a85515e121b (diff) | |
download | chromium_src-0d78ec0e128c1e2b16ff8a5b8cc20d5368f3d5a3.zip chromium_src-0d78ec0e128c1e2b16ff8a5b8cc20d5368f3d5a3.tar.gz chromium_src-0d78ec0e128c1e2b16ff8a5b8cc20d5368f3d5a3.tar.bz2 |
GpuChannelHost: allocate route IDs on the client (renderer) side.
This avoids a timing-sensitive bug where the pattern of non-Host-allocated
route IDs are in conflict with non-Host-initiated-first-IPC.
BUG=360276
TEST=trybot and manual testing.
R=fischman@chromium.org, palmer@chromium.org, piman@chromium.org
Review URL: https://codereview.chromium.org/227433010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_thread_impl.h')
-rw-r--r-- | content/renderer/render_thread_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h index 7f0f85b..4c945b1 100644 --- a/content/renderer/render_thread_impl.h +++ b/content/renderer/render_thread_impl.h @@ -387,9 +387,10 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( size_t size) OVERRIDE; - virtual int32 CreateViewCommandBuffer( + virtual bool CreateViewCommandBuffer( int32 surface_id, - const GPUCreateCommandBufferConfig& init_params) OVERRIDE; + const GPUCreateCommandBufferConfig& init_params, + int32 route_id) OVERRIDE; virtual void CreateImage( gfx::PluginWindowHandle window, int32 image_id, |