Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
index 84d781ebb85f153902bd10e9971e73ac068f0c8a..5b7fd075b2dd3044d68e2486fc43bee0f1ef0d72 100644 |
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
@@ -393,6 +393,12 @@ gfx::NativeWindow DesktopNativeWidgetAura::GetNativeWindow() const { |
return content_window_; |
} |
+void DesktopNativeWidgetAura::SetNativeWindowProperty(const char* name, |
+ void* value) { |
+ if (content_window_) |
+ content_window_->SetNativeWindowProperty(name, value); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// DesktopNativeWidgetAura, internal::NativeWidgetPrivate implementation: |
@@ -598,12 +604,6 @@ void DesktopNativeWidgetAura::ViewRemoved(View* view) { |
drop_helper_->ResetTargetViewIfEquals(view); |
} |
-void DesktopNativeWidgetAura::SetNativeWindowProperty(const char* name, |
- void* value) { |
- if (content_window_) |
- content_window_->SetNativeWindowProperty(name, value); |
-} |
- |
void* DesktopNativeWidgetAura::GetNativeWindowProperty(const char* name) const { |
return content_window_ ? |
content_window_->GetNativeWindowProperty(name) : NULL; |