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

Unified Diff: ui/gl/gl_fence_libsync.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 | « ui/gl/gl_fence_egl.h ('k') | ui/gl/gl_fence_nv.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_fence_libsync.h
diff --git a/ui/gl/gl_fence_libsync.h b/ui/gl/gl_fence_libsync.h
index bd24c1e7afd2b3602d4187e2a2ec38ed1d977874..7da1d4d2d67897b33d2f2a1ae7aacc7e2f1602dc 100644
--- a/ui/gl/gl_fence_libsync.h
+++ b/ui/gl/gl_fence_libsync.h
@@ -16,7 +16,6 @@ namespace gl {
class GL_EXPORT GLFenceLibsync : public GLFence {
public:
explicit GLFenceLibsync(base::ScopedFD fd);
- ~GLFenceLibsync() override;
// Overridden from GLFence:
bool HasCompleted() override;
@@ -24,6 +23,8 @@ class GL_EXPORT GLFenceLibsync : public GLFence {
void ServerWait() override;
private:
+ ~GLFenceLibsync() override;
+
base::ScopedFD fd_;
DISALLOW_COPY_AND_ASSIGN(GLFenceLibsync);
« no previous file with comments | « ui/gl/gl_fence_egl.h ('k') | ui/gl/gl_fence_nv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698