Index: ui/gl/gpu_timing.h |
diff --git a/ui/gl/gpu_timing.h b/ui/gl/gpu_timing.h |
index a749ef1501cdf9d0129afb2d6c639fc3377e5de3..5658097bf120e89622e0d4278504128871666b2a 100644 |
--- a/ui/gl/gpu_timing.h |
+++ b/ui/gl/gpu_timing.h |
@@ -76,6 +76,10 @@ class GL_EXPORT GPUTimer { |
public: |
~GPUTimer(); |
+ // Destroy the timer object. This must be explicitly called before destroying |
+ // this object. |
+ void Destroy(bool have_context); |
+ |
void Start(); |
void End(); |
bool IsAvailable(); |