Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2519)

Unified Diff: content/child/child_gpu_memory_buffer_manager.cc

Issue 2384243003: ui: Add libsync GLFence implementation.
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/gpu/browser_gpu_memory_buffer_manager.cc ('k') | gpu/ipc/client/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_gpu_memory_buffer_manager.cc
diff --git a/content/child/child_gpu_memory_buffer_manager.cc b/content/child/child_gpu_memory_buffer_manager.cc
index 1d5c29f7ae5b1eb3d74afed1dff8992237b12972..766a864a3eebb9ddb33dad01b1a52ae6bc34e84d 100644
--- a/content/child/child_gpu_memory_buffer_manager.cc
+++ b/content/child/child_gpu_memory_buffer_manager.cc
@@ -98,7 +98,8 @@ std::unique_ptr<gfx::GpuFence> ChildGpuMemoryBufferManager::CreateGpuFence() {
bool success = sender_->Send(message);
if (!success)
return nullptr;
- std::unique_ptr<gpu::GpuFenceImpl> fence(new gpu::GpuFenceImpl(handle));
+ std::unique_ptr<gpu::GpuFenceImpl> fence(
+ gpu::GpuFenceImpl::CreateFromHandle(handle));
return std::move(fence);
}
« no previous file with comments | « content/browser/gpu/browser_gpu_memory_buffer_manager.cc ('k') | gpu/ipc/client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698