Index: content/browser/compositor/buffer_queue.h |
diff --git a/content/browser/compositor/buffer_queue.h b/content/browser/compositor/buffer_queue.h |
index 153761916dc906c8016bbde594a37f1b0614bb36..306b64829b579a3b1999d036bb04376e65cbd56c 100644 |
--- a/content/browser/compositor/buffer_queue.h |
+++ b/content/browser/compositor/buffer_queue.h |
@@ -44,6 +44,9 @@ class CONTENT_EXPORT BufferQueue { |
void Reshape(const gfx::Size& size, float scale_factor); |
unsigned int current_texture_id() const { return current_surface_.texture; } |
+ unsigned int last_texture_id() const { |
+ return in_flight_surfaces_.back().texture; |
+ } |
unsigned int fbo() const { return fbo_; } |
private: |