Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: ui/base/cocoa/nib_loading.mm

Issue 2116103002: mac: Use instantiateWithOwner: instead of deprecated instantiateNibWithOwner: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: be more thrifty with newlines Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/base/cocoa/nib_loading.mm
diff --git a/ui/base/cocoa/nib_loading.mm b/ui/base/cocoa/nib_loading.mm
index 6deea19f698b4006a023f41257f5d214e1b30a24..bfa1c621cd3f2b539b9c28b4e6fcf51fffcb1d28 100644
--- a/ui/base/cocoa/nib_loading.mm
+++ b/ui/base/cocoa/nib_loading.mm
@@ -6,11 +6,7 @@
#include "base/mac/bundle_locations.h"
#include "base/mac/scoped_nsobject.h"
-
-@interface NSNib (MountainLionSDK)
-- (BOOL)instantiateWithOwner:(nullable id)owner
- topLevelObjects:(NSArray* __nonnull* __nullable)topLevelObjects;
-@end
+#include "base/mac/sdk_forward_declarations.h"
namespace ui {

Powered by Google App Engine
This is Rietveld 408576698