Index: ui/gl/gl_fence.h |
diff --git a/ui/gl/gl_fence.h b/ui/gl/gl_fence.h |
index 8c36abc2e9f57c4cffd20461478f54b3618fa7ca..c3788eb8535928d8938237653f47eaec565dc8c0 100644 |
--- a/ui/gl/gl_fence.h |
+++ b/ui/gl/gl_fence.h |
@@ -31,6 +31,9 @@ class GL_EXPORT GLFence { |
// Resets the fence to the original state. |
virtual void ResetState(); |
+ // Loses the reference to the fence. Useful if the context is lost. |
+ virtual void Invalidate(); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(GLFence); |
}; |