| Index: ui/views/view.cc
|
| diff --git a/ui/views/view.cc b/ui/views/view.cc
|
| index 68c0e0e752db76243a8ebe287d17b119b2f52c84..7345e71a3ec6e14d61efad8e537f6efe64b9b80e 100644
|
| --- a/ui/views/view.cc
|
| +++ b/ui/views/view.cc
|
| @@ -827,7 +827,7 @@ void View::Paint(const ui::PaintContext& parent_context) {
|
| if (!layer()) {
|
| // If the View has a layer() then it is a paint root. Otherwise, we need to
|
| // add the offset from the parent into the total offset from the paint root.
|
| - DCHECK(parent() || bounds().origin() == gfx::Point());
|
| + DCHECK(parent() || origin() == gfx::Point());
|
| offset_to_parent = GetMirroredPosition().OffsetFromOrigin();
|
| }
|
| ui::PaintContext context(parent_context, offset_to_parent);
|
|
|