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

Unified Diff: ui/gl/gl_fence_nv.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_libsync.h ('k') | ui/gl/gl_fence_shared_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_fence_nv.h
diff --git a/ui/gl/gl_fence_nv.h b/ui/gl/gl_fence_nv.h
index 0831eeaed0a8e0e296ec394dba9b979a920dc984..082f3a7f42657fed329a7bdeef94c1e09631f3eb 100644
--- a/ui/gl/gl_fence_nv.h
+++ b/ui/gl/gl_fence_nv.h
@@ -15,7 +15,6 @@ namespace gl {
class GL_EXPORT GLFenceNV : public GLFence {
public:
GLFenceNV();
- ~GLFenceNV() override;
// GLFence implementation:
bool ResetSupported() override;
@@ -26,6 +25,8 @@ class GL_EXPORT GLFenceNV : public GLFence {
void Invalidate() override;
private:
+ ~GLFenceNV() override;
+
GLuint fence_ = 0;
DISALLOW_COPY_AND_ASSIGN(GLFenceNV);
« no previous file with comments | « ui/gl/gl_fence_libsync.h ('k') | ui/gl/gl_fence_shared_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698