diff options
author | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-04 07:28:07 +0000 |
---|---|---|
committer | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-04 07:28:07 +0000 |
commit | 81d6248aef0a3fd6efbe262e9e074baa3818f7bf (patch) | |
tree | 4ddb1888e9b942a6450b895de8d6e80dbc676e62 /content/browser/aura | |
parent | 3c921aca367dd1e2879830c521d3c3863eb8fd71 (diff) | |
download | chromium_src-81d6248aef0a3fd6efbe262e9e074baa3818f7bf.zip chromium_src-81d6248aef0a3fd6efbe262e9e074baa3818f7bf.tar.gz chromium_src-81d6248aef0a3fd6efbe262e9e074baa3818f7bf.tar.bz2 |
Remove WGC3DCBImpl::GetContextID() and GetChannelID()
One is unused, the other is constant and can be retrieved from
BrowserGpuChannelHostFactory instead.
The goal is to avoid creating a context until the GPU channel is ready.
BUG=270179
Review URL: https://codereview.chromium.org/102903003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/aura')
-rw-r--r-- | content/browser/aura/gpu_process_transport_factory.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/aura/gpu_process_transport_factory.cc b/content/browser/aura/gpu_process_transport_factory.cc index 2c5c411..b5a8e7a4 100644 --- a/content/browser/aura/gpu_process_transport_factory.cc +++ b/content/browser/aura/gpu_process_transport_factory.cc @@ -294,7 +294,8 @@ gfx::GLSurfaceHandle GpuProcessTransportFactory::CreateSharedSurfaceHandle() { gfx::GLSurfaceHandle handle = gfx::GLSurfaceHandle( gfx::kNullPluginWindow, gfx::TEXTURE_TRANSPORT); handle.parent_gpu_process_id = context->GetGPUProcessID(); - handle.parent_client_id = context->GetChannelID(); + handle.parent_client_id = + BrowserGpuChannelHostFactory::instance()->GetGpuChannelId(); return handle; } |