Index: views/widget/native_widget_win.cc |
diff --git a/views/widget/native_widget_win.cc b/views/widget/native_widget_win.cc |
index ce28ef37a65248ba505356a75cba13577fb2666f..6ca61bc4c943fca24ce96d40e69a8447e23204bd 100644 |
--- a/views/widget/native_widget_win.cc |
+++ b/views/widget/native_widget_win.cc |
@@ -1146,8 +1146,11 @@ void NativeWidgetWin::ClientAreaSizeChanged() { |
} |
gfx::AcceleratedWidget NativeWidgetWin::GetAcceleratedWidget() { |
- // TODO(sky): |
+#if defined(VIEWS_COMPOSITOR) |
return gfx::kNullAcceleratedWidget; |
+#else |
+ return hwnd(); |
+#endif |
} |
void NativeWidgetWin::DispatchKeyEventPostIME(const KeyEvent& key) { |