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

Unified Diff: ios/web/public/test/fakes/test_web_state_observer.mm

Issue 2922973004: [ObjC ARC] Converts ios/web/public/test/fakes:fakes to ARC. (Closed)
Patch Set: scoped_nsobject in .h Created 3 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: ios/web/public/test/fakes/test_web_state_observer.mm
diff --git a/ios/web/public/test/fakes/test_web_state_observer.mm b/ios/web/public/test/fakes/test_web_state_observer.mm
index c184f6e8132aebd30cd88d855ac72b38cf5098b1..3d9c96bd00e79911cfea67a6c9c1eadc6ee3a77e 100644
--- a/ios/web/public/test/fakes/test_web_state_observer.mm
+++ b/ios/web/public/test/fakes/test_web_state_observer.mm
@@ -11,6 +11,10 @@
#include "net/http/http_response_headers.h"
#include "testing/gtest/include/gtest/gtest.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace web {
TestWebStateObserver::TestWebStateObserver(WebState* web_state)
« no previous file with comments | « ios/web/public/test/fakes/test_web_state_delegate.mm ('k') | ios/web/public/test/fakes/test_web_state_observer_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698