Index: ui/compositor/paint_context.h |
diff --git a/ui/compositor/paint_context.h b/ui/compositor/paint_context.h |
index 0960ab5478f6336e32925cf1659f396c9e007de9..914f9a9f04ca3ac3393b6cc280af8c0510827173 100644 |
--- a/ui/compositor/paint_context.h |
+++ b/ui/compositor/paint_context.h |
@@ -67,6 +67,8 @@ class PaintContext { |
const gfx::Vector2d& PaintOffset() const { return offset_; } |
#endif |
+ const gfx::Rect& InvalidationForTesting() const { return invalidation_; } |
sadrul
2015/04/07 19:05:12
In a number of components, we expose such things t
danakj
2015/04/07 20:09:35
FWIW Presubmit makes an error if you use a method
|
+ |
private: |
// The PaintRecorder needs access to the internal canvas and friends, but we |
// don't want to expose them on this class so that people must go through the |