Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index b25ff17f9546f91629ae16a7ae4cb60bf67905d2..8c69074433dde50d76751f2718a84a4b247f7799 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -784,8 +784,10 @@ class CONTENT_EXPORT WebContentsImpl |
// Data for misc internal state ---------------------------------------------- |
- // Whether the WebContents is currently being screenshotted. |
- bool capturing_contents_; |
+ // When > 0, the WebContents is currently being captured (e.g., for |
+ // screenshots or mirroring); and the underlying RenderWidgetHost should not |
+ // be told it is hidden. |
+ int capturing_count_; |
// See getter above. |
bool is_being_destroyed_; |