Index: content/browser/renderer_host/compositor_resize_lock.h |
diff --git a/content/browser/renderer_host/compositor_resize_lock.h b/content/browser/renderer_host/compositor_resize_lock.h |
index a49f6c5840516f41356190f37af1bc849b601ec3..4e5a17b4c001788a069d5d6e760f89a5e6538f8c 100644 |
--- a/content/browser/renderer_host/compositor_resize_lock.h |
+++ b/content/browser/renderer_host/compositor_resize_lock.h |
@@ -46,6 +46,8 @@ class CONTENT_EXPORT CompositorResizeLock |
// prevent locking from happening. |
void UnlockCompositor(); |
+ bool timed_out() const { return timed_out_; } |
+ |
const gfx::Size& expected_size() const { return expected_size_; } |
private: |
@@ -56,6 +58,7 @@ class CONTENT_EXPORT CompositorResizeLock |
const gfx::Size expected_size_; |
std::unique_ptr<ui::CompositorLock> compositor_lock_; |
bool unlocked_ = false; |
+ bool timed_out_ = false; |
DISALLOW_COPY_AND_ASSIGN(CompositorResizeLock); |
}; |