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

Unified Diff: ui/gl/gl_fence_arb.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_apple.h ('k') | ui/gl/gl_fence_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_fence_arb.h
diff --git a/ui/gl/gl_fence_arb.h b/ui/gl/gl_fence_arb.h
index 6b44c01143ab8613b002e601eb8f7b1ac840ed46..0e5089556232a420d5bc5520bcd9c098458a2e5c 100644
--- a/ui/gl/gl_fence_arb.h
+++ b/ui/gl/gl_fence_arb.h
@@ -15,7 +15,6 @@ namespace gl {
class GL_EXPORT GLFenceARB : public GLFence {
public:
GLFenceARB();
- ~GLFenceARB() override;
// GLFence implementation:
bool HasCompleted() override;
@@ -24,6 +23,8 @@ class GL_EXPORT GLFenceARB : public GLFence {
void Invalidate() override;
private:
+ ~GLFenceARB() override;
+
GLsync sync_ = 0;
void HandleClientWaitFailure();
« no previous file with comments | « ui/gl/gl_fence_apple.h ('k') | ui/gl/gl_fence_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698