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

Unified Diff: ui/gl/gl_fence_egl.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_arb.h ('k') | ui/gl/gl_fence_libsync.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_fence_egl.h
diff --git a/ui/gl/gl_fence_egl.h b/ui/gl/gl_fence_egl.h
index 09427dacaa92be40aeebb6f141816f96c5627909..1dde99fbb3aca459acd4ccb5e3912da6e49371b3 100644
--- a/ui/gl/gl_fence_egl.h
+++ b/ui/gl/gl_fence_egl.h
@@ -17,7 +17,6 @@ class GL_EXPORT GLFenceEGL : public GLFence {
static void SetIgnoreFailures();
GLFenceEGL();
- ~GLFenceEGL() override;
// GLFence implementation:
bool HasCompleted() override;
@@ -25,6 +24,8 @@ class GL_EXPORT GLFenceEGL : public GLFence {
void ServerWait() override;
private:
+ ~GLFenceEGL() override;
+
EGLSyncKHR sync_;
EGLDisplay display_;
« no previous file with comments | « ui/gl/gl_fence_arb.h ('k') | ui/gl/gl_fence_libsync.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698