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

Unified Diff: ios/web/webui/web_ui_mojo_inttest.mm

Issue 2916473002: [ObjC ARC] Converts ios/web:web to ARC. (Closed)
Patch Set: Tweaks to autorelease pool 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/webui/web_ui_mojo_inttest.mm
diff --git a/ios/web/webui/web_ui_mojo_inttest.mm b/ios/web/webui/web_ui_mojo_inttest.mm
index 97916af543d08a09094c16c7d477a5742fa9ed32..9725fb511a122dc13f4d51dd9e5f22cb3d44b195 100644
--- a/ios/web/webui/web_ui_mojo_inttest.mm
+++ b/ios/web/webui/web_ui_mojo_inttest.mm
@@ -146,6 +146,10 @@ class WebUIMojoTest : public WebIntTest {
new TestWebUIControllerFactory(ui_handler_.get()));
}
+ void TearDown() override {
+ web_state_.reset();
+ WebIntTest::TearDown();
+ }
Eugene But (OOO till 7-30) 2017/06/12 06:12:52 nit: Keep a linebreak after |TearDown|?
PL 2017/06/14 00:31:11 Oh yes, thanks!
// Returns WebState which loads test WebUI page.
WebStateImpl* web_state() { return web_state_.get(); }
// Returns UI handler which communicates with WebUI page.

Powered by Google App Engine
This is Rietveld 408576698