| Index: ui/views/cocoa/bridged_content_view.mm
|
| diff --git a/ui/views/cocoa/bridged_content_view.mm b/ui/views/cocoa/bridged_content_view.mm
|
| index 1796fff92a576f87b724a6acb8d6182c27da72b9..e4da0e0ad5a5eb1b3a7d66d59ec5153e84996ce4 100644
|
| --- a/ui/views/cocoa/bridged_content_view.mm
|
| +++ b/ui/views/cocoa/bridged_content_view.mm
|
| @@ -732,9 +732,8 @@ ui::TextEditCommand GetTextEditCommandForMenuAction(SEL action) {
|
| if (hostedView_->GetWidget()->GetLayer())
|
| return;
|
|
|
| - gfx::CanvasSkiaPaint canvas(dirtyRect, false /* opaque */);
|
| - hostedView_->GetWidget()->OnNativeWidgetPaint(
|
| - ui::CanvasPainter(&canvas, 1.f).context());
|
| + // TODO(tapted): Add a NOTREACHED() here. At the moment, low-level
|
| + // BridgedNativeWidget unit tests may not have a ui::Layer.
|
| }
|
|
|
| - (BOOL)isOpaque {
|
|
|