| Index: ui/views/view.cc
|
| diff --git a/ui/views/view.cc b/ui/views/view.cc
|
| index a0724264370b67b7115f38493505d96aed329224..f799e4c05c1b959e66bbeb509e87348f4ebbf81c 100644
|
| --- a/ui/views/view.cc
|
| +++ b/ui/views/view.cc
|
| @@ -741,7 +741,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_IMPLIES(!parent(), bounds().origin() == gfx::Point());
|
| + DCHECK(parent() || (bounds().origin() == gfx::Point()));
|
| offset_to_parent = GetMirroredPosition().OffsetFromOrigin();
|
| }
|
| ui::PaintContext context(parent_context, offset_to_parent);
|
|
|