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

Unified Diff: ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm

Issue 2826073003: [ObjC ARC] Converts ios/chrome/browser/ui/toolbar:test_support to ARC. (Closed)
Patch Set: Change FALSE to false Created 3 years, 8 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
« no previous file with comments | « ios/chrome/browser/ui/toolbar/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm
diff --git a/ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm b/ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm
index 11736d37553806bc20fd3f101f0a8d3d7c64c711..da4c58f3f97670209735b6275e8f1dae2129692a 100644
--- a/ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm
+++ b/ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm
@@ -7,14 +7,18 @@
#include "components/toolbar/toolbar_model_impl.h"
#import "ios/chrome/browser/tabs/tab.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
TestToolbarModelIOS::TestToolbarModelIOS()
: ToolbarModelIOS(),
- is_loading_(FALSE),
+ is_loading_(false),
load_progress_fraction_(0.0),
- can_go_back_(FALSE),
- can_go_forward_(FALSE),
- is_current_tab_native_page_(FALSE),
- is_current_tab_bookmarked_(FALSE) {
+ can_go_back_(false),
+ can_go_forward_(false),
+ is_current_tab_native_page_(false),
+ is_current_tab_bookmarked_(false) {
test_toolbar_model_.reset(new TestToolbarModel());
}
« no previous file with comments | « ios/chrome/browser/ui/toolbar/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698