| Index: ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
| diff --git a/ios/chrome/browser/ui/webui/web_ui_egtest.mm b/ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
| index aaa9ed7f136e5bda7d35d6256bd6d3ded9f0e506..614379c5a7d0ccd699a4ea2fec1981bdf9e01c41 100644
|
| --- a/ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
| +++ b/ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
| @@ -23,6 +23,10 @@
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "url/scheme_host_port.h"
|
|
|
| +#if !defined(__has_feature) || !__has_feature(objc_arc)
|
| +#error "This file requires ARC support."
|
| +#endif
|
| +
|
| using chrome_test_util::BackButton;
|
| using chrome_test_util::ForwardButton;
|
| using chrome_test_util::StaticHtmlViewContainingText;
|
| @@ -61,11 +65,11 @@ id<GREYMatcher> WaitForOmniboxText(std::string text) {
|
| [description appendText:base::SysUTF8ToNSString(text)];
|
| };
|
|
|
| - return grey_allOf(chrome_test_util::Omnibox(),
|
| - [[[GREYElementMatcherBlock alloc]
|
| - initWithMatchesBlock:matches
|
| - descriptionBlock:describe] autorelease],
|
| - nil);
|
| + return grey_allOf(
|
| + chrome_test_util::Omnibox(),
|
| + [[GREYElementMatcherBlock alloc] initWithMatchesBlock:matches
|
| + descriptionBlock:describe],
|
| + nil);
|
| }
|
|
|
| } // namespace
|
|
|