Index: cc/layers/render_surface_impl.h |
diff --git a/cc/layers/render_surface_impl.h b/cc/layers/render_surface_impl.h |
index cb7a795b3b1891e4d8e184cd1aa830aa0f46cf44..4b6e3af1768217097f47a9a1321db6a0f8087551 100644 |
--- a/cc/layers/render_surface_impl.h |
+++ b/cc/layers/render_surface_impl.h |
@@ -117,7 +117,9 @@ class CC_EXPORT RenderSurfaceImpl { |
contributes_to_drawn_surface_ = contributes_to_drawn_surface; |
} |
- void SetContentRect(const gfx::Rect& content_rect); |
+ void CalculateContentRectFromAccumulatedContentRect(int max_texture_size); |
+ void SetContentRectToViewport(); |
+ void SetContentRectForTesting(const gfx::Rect& rect); |
gfx::Rect content_rect() const { return draw_properties_.content_rect; } |
void ClearAccumulatedContentRect(); |
@@ -167,6 +169,8 @@ class CC_EXPORT RenderSurfaceImpl { |
int EffectTreeIndex() const; |
private: |
+ void SetContentRect(const gfx::Rect& content_rect); |
+ |
LayerImpl* owning_layer_; |
// Container for properties that render surfaces need to compute before they |