| Index: ios/chrome/browser/ui/bookmarks/bookmark_collection_view_background.mm
|
| diff --git a/ios/chrome/browser/ui/bookmarks/bookmark_collection_view_background.mm b/ios/chrome/browser/ui/bookmarks/bookmark_collection_view_background.mm
|
| index 38461e5032e7d4874f8087e313f079939ab48d2a..f8974777bf1c538bbd11cf8563fbb5a98058d1f7 100644
|
| --- a/ios/chrome/browser/ui/bookmarks/bookmark_collection_view_background.mm
|
| +++ b/ios/chrome/browser/ui/bookmarks/bookmark_collection_view_background.mm
|
| @@ -4,11 +4,8 @@
|
|
|
| #include "ios/chrome/browser/ui/bookmarks/bookmark_collection_view_background.h"
|
|
|
| +#include "base/mac/objc_property_releaser.h"
|
| #import "ios/third_party/material_roboto_font_loader_ios/src/src/MaterialRobotoFontLoader.h"
|
| -
|
| -#if !defined(__has_feature) || !__has_feature(objc_arc)
|
| -#error "This file requires ARC support."
|
| -#endif
|
|
|
| namespace {
|
| NSString* const kBookmarkGrayStar = @"bookmark_gray_star_large";
|
| @@ -17,7 +14,10 @@
|
| const CGFloat kImageViewOffsetFromText = 5.0;
|
| } // namespace
|
|
|
| -@interface BookmarkCollectionViewBackground ()
|
| +@interface BookmarkCollectionViewBackground () {
|
| + base::mac::ObjCPropertyReleaser
|
| + _propertyReleaser_BookmarkBookmarkCollectionViewBackground;
|
| +}
|
|
|
| // Star image view shown on top of the label.
|
| @property(nonatomic, retain) UIImageView* emptyBookmarksImageView;
|
| @@ -34,6 +34,8 @@
|
| - (instancetype)initWithFrame:(CGRect)frame {
|
| self = [super initWithFrame:frame];
|
| if (self) {
|
| + _propertyReleaser_BookmarkBookmarkCollectionViewBackground.Init(
|
| + self, [BookmarkCollectionViewBackground class]);
|
| _emptyBookmarksImageView = [self newBookmarkImageView];
|
| [self addSubview:_emptyBookmarksImageView];
|
| _emptyBookmarksLabel = [self newEmptyBookmarkLabel];
|
|
|