| Index: ui/views/widget/native_widget_mac.mm
|
| diff --git a/ui/views/widget/native_widget_mac.mm b/ui/views/widget/native_widget_mac.mm
|
| index 8dc3c40dc1144a08e4f53d4a102cf289137f443f..5a42641ea769d768644329f9ae7869f83d6e5d1f 100644
|
| --- a/ui/views/widget/native_widget_mac.mm
|
| +++ b/ui/views/widget/native_widget_mac.mm
|
| @@ -7,6 +7,7 @@
|
| #include <Cocoa/Cocoa.h>
|
|
|
| #include "ui/gfx/font_list.h"
|
| +#include "ui/native_theme/native_theme.h"
|
|
|
| namespace views {
|
|
|
| @@ -347,8 +348,7 @@ void NativeWidgetMac::SetVisibilityChangedAnimationsEnabled(bool value) {
|
| }
|
|
|
| ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const {
|
| - NOTIMPLEMENTED();
|
| - return NULL;
|
| + return ui::NativeTheme::instance();
|
| }
|
|
|
| void NativeWidgetMac::OnRootViewLayout() const {
|
| @@ -376,8 +376,7 @@ namespace internal {
|
| // static
|
| NativeWidgetPrivate* NativeWidgetPrivate::CreateNativeWidget(
|
| internal::NativeWidgetDelegate* delegate) {
|
| - NOTIMPLEMENTED();
|
| - return NULL;
|
| + return new NativeWidgetMac(delegate);
|
| }
|
|
|
| // static
|
|
|