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

Unified Diff: gpu/ipc/service/gpu_channel.h

Issue 2447533002: ui: Add ref-counting to GLFence class.
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 | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/ipc/service/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_channel.h
diff --git a/gpu/ipc/service/gpu_channel.h b/gpu/ipc/service/gpu_channel.h
index e60e2f7095e85d4e3a6860bf59b672dee0980ebf..9c57b458d889b7f52a144aac0dec4a7676bd56e8 100644
--- a/gpu/ipc/service/gpu_channel.h
+++ b/gpu/ipc/service/gpu_channel.h
@@ -156,7 +156,7 @@ class GPU_EXPORT GpuChannel
uint32_t internalformat,
SurfaceHandle surface_handle);
- std::unique_ptr<gl::GLFence> CreateFenceForGpuFence(
+ scoped_refptr<gl::GLFence> CreateFenceForGpuFence(
const gfx::GpuFenceHandle& handle);
GpuChannelMessageFilter* filter() const { return filter_.get(); }
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/ipc/service/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698