| Index: ui/base/cocoa/underlay_opengl_hosting_window.mm
|
| diff --git a/ui/base/cocoa/underlay_opengl_hosting_window.mm b/ui/base/cocoa/underlay_opengl_hosting_window.mm
|
| index 04b5eda2564ac1c20ecaab760a1ebdf97e6741f5..4ef7092144e253e9d6ebb18776768d1c31c34d7a 100644
|
| --- a/ui/base/cocoa/underlay_opengl_hosting_window.mm
|
| +++ b/ui/base/cocoa/underlay_opengl_hosting_window.mm
|
| @@ -99,8 +99,7 @@ void RootDidAddSubview(id self, SEL _cmd, NSView* subview) {
|
| //
|
| // (This is checked here because UnderlayOpenGLHostingWindow is the base of
|
| // most Chromium windows, not because this is related to its functionality.)
|
| - DCHECK(contentRect.size.width > 0 &&
|
| - contentRect.size.height > 0);
|
| + DCHECK(!NSIsEmptyRect(contentRect));
|
| if ((self = [super initWithContentRect:contentRect
|
| styleMask:windowStyle
|
| backing:bufferingType
|
|
|