Index: ui/views/view.cc |
diff --git a/ui/views/view.cc b/ui/views/view.cc |
index 0fc755972d6d57de055a7ea9d31fa11733eaf13b..7a62eed12034db8e865c0458a845806a8cbb88d1 100644 |
--- a/ui/views/view.cc |
+++ b/ui/views/view.cc |
@@ -777,7 +777,7 @@ void View::Paint(const ui::PaintContext& parent_context) { |
// If the view is backed by a layer, it should paint with itself as the origin |
// rather than relative to its parent. |
- ui::ClipTransformRecorder clip_transform_recorder(context); |
+ ui::ClipTransformRecorder clip_transform_recorder(context, size()); |
if (!layer()) { |
// Set the clip rect to the bounds of this View. Note that the X (or left) |
// position we pass to ClipRect takes into consideration whether or not the |