Index: chrome/common/mac/objc_zombie.mm |
diff --git a/chrome/common/mac/objc_zombie.mm b/chrome/common/mac/objc_zombie.mm |
index 98f73c711e15dd53a73de332c67505ad1c6bedf6..a9343594e25786e04a75f3a5321a6782379660be 100644 |
--- a/chrome/common/mac/objc_zombie.mm |
+++ b/chrome/common/mac/objc_zombie.mm |
@@ -25,7 +25,10 @@ |
// Deallocated objects are re-classed as |CrZombie|. No superclass |
// because then the class would have to override many/most of the |
// inherited methods (|NSObject| is like a category magnet!). |
-@interface CrZombie { |
+// Without the __attribute__, clang's -Wobjc-root-class warns on the missing |
+// superclass. |
+__attribute__((objc_root_class)) |
+@interface CrZombie { |
Class isa; |
} |
@end |