Index: content/browser/frame_host/render_widget_host_view_child_frame.h |
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h |
index 67f11be261aa0c7ad143e576233cf0bc74f63178..81724d3cd0cc4a6b42389f99c775aad246967762 100644 |
--- a/content/browser/frame_host/render_widget_host_view_child_frame.h |
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.h |
@@ -189,6 +189,8 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame |
void RegisterSurfaceNamespaceId(); |
void UnregisterSurfaceNamespaceId(); |
+ unsigned frame_count() const { return frame_count_; } |
+ |
protected: |
friend class RenderWidgetHostView; |
friend class RenderWidgetHostViewChildFrameTest; |
@@ -216,6 +218,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame |
float current_surface_scale_factor_; |
gfx::Rect last_screen_rect_; |
uint32_t ack_pending_count_; |
+ unsigned frame_count_; |
kenrb
2016/07/05 14:30:56
I think this should be uint32_t, and the name migh
wjmaclean
2016/07/05 15:04:22
Done.
|
cc::ReturnedResourceArray surface_returned_resources_; |
// frame_connector_ provides a platform abstraction. Messages |