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

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

Powered by Google App Engine
This is Rietveld 408576698