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

Unified Diff: ui/gl/gl_fence_shared_event.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_nv.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_fence_shared_event.h
diff --git a/ui/gl/gl_fence_shared_event.h b/ui/gl/gl_fence_shared_event.h
index 23c185aa8cd3cfdc5f8d17672d41e1fcdaf479f8..caeab8471d0afa43a2580025f8a1d62380506a7d 100644
--- a/ui/gl/gl_fence_shared_event.h
+++ b/ui/gl/gl_fence_shared_event.h
@@ -15,7 +15,6 @@ namespace gl {
class GL_EXPORT GLFenceSharedEvent : public GLFence {
public:
explicit GLFenceSharedEvent(const gfx::SharedEventHandle& handle);
- ~GLFenceSharedEvent() override;
// Overridden from GLFence:
bool HasCompleted() override;
@@ -25,6 +24,8 @@ class GL_EXPORT GLFenceSharedEvent : public GLFence {
void Signal() override;
private:
+ ~GLFenceSharedEvent() override;
+
gfx::SharedEvent shared_event_;
DISALLOW_COPY_AND_ASSIGN(GLFenceSharedEvent);
« no previous file with comments | « ui/gl/gl_fence_nv.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698