Index: ui/display/ios/screen_ios.mm |
diff --git a/ui/display/ios/screen_ios.mm b/ui/display/ios/screen_ios.mm |
index 23efa97dfd30513b11ed28e1d98c1dd97c0b1458..cb3c47b282b5be461cf18419385ce94325250ba8 100644 |
--- a/ui/display/ios/screen_ios.mm |
+++ b/ui/display/ios/screen_ios.mm |
@@ -51,6 +51,11 @@ class ScreenIos : public ScreenBase { |
} // namespace |
+// static |
+gfx::NativeWindow Screen::GetWindowForView(gfx::NativeView view) { |
+ return [view window]; |
+} |
+ |
Screen* CreateNativeScreen() { |
return new ScreenIos; |
} |