Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index 8f8b38d9dcf415db8adcfafeebb6f3625cd8b8ff..06ccc552766cba61f71a7a6d8855a2d86f4e98db 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -1895,6 +1895,14 @@ GpuChannelHost* RenderThreadImpl::GetGpuChannel() { |
return gpu_channel_.get(); |
} |
+bool RenderThreadImpl::HasGpuProcess() { |
+ bool hasGpuProcess = false; |
+ if (!Send(new GpuHostMsg_HasGpuProcess(&hasGpuProcess))) |
+ return false; |
+ |
+ return hasGpuProcess; |
+} |
+ |
#if defined(ENABLE_PLUGINS) |
void RenderThreadImpl::OnPurgePluginListCache(bool reload_pages) { |
EnsureWebKitInitialized(); |