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

Unified Diff: ios/web/test/web_int_test.mm

Issue 2916473002: [ObjC ARC] Converts ios/web:web to ARC. (Closed)
Patch Set: Adoption of NS_VALID_UNTIL_END_OF_SCOPE Created 3 years, 7 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/test/web_int_test.mm
diff --git a/ios/web/test/web_int_test.mm b/ios/web/test/web_int_test.mm
index 8d5160b8840bf5b47382a5ab24f11017288fc004..cbc9812514222aef8aa3048aa396c9f61e27cacc 100644
--- a/ios/web/test/web_int_test.mm
+++ b/ios/web/test/web_int_test.mm
@@ -50,6 +50,7 @@ WebIntTest::WebIntTest() {}
WebIntTest::~WebIntTest() {}
void WebIntTest::SetUp() {
+ rootPool_ = [[NSAutoreleasePool alloc] init];
WebTest::SetUp();
// Start the http server.
@@ -84,6 +85,8 @@ void WebIntTest::TearDown() {
EXPECT_FALSE(server.IsRunning());
WebTest::TearDown();
+ [rootPool_ release];
+ rootPool_ = nil;
}
id WebIntTest::ExecuteJavaScript(NSString* script) {

Powered by Google App Engine
This is Rietveld 408576698