| Index: ios/web/public/test/web_test_with_web_state.h
|
| diff --git a/ios/web/public/test/web_test_with_web_state.h b/ios/web/public/test/web_test_with_web_state.h
|
| index 74eb958d5b4c5509c66b0cecee1c2daec7ad72f8..b167056f398810c4538c4f91c8b2ff65a5f34798 100644
|
| --- a/ios/web/public/test/web_test_with_web_state.h
|
| +++ b/ios/web/public/test/web_test_with_web_state.h
|
| @@ -39,6 +39,8 @@ class WebTestWithWebState : public WebTest,
|
| void WaitForCondition(ConditionBlock condition);
|
| // Synchronously executes JavaScript and returns result as id.
|
| id ExecuteJavaScript(NSString* script);
|
| + // Destroys underlying WebState. web_state() will return null after this call.
|
| + void DestroyWebState();
|
|
|
| // Returns the base URL of the loaded page.
|
| std::string BaseUrl() const;
|
|
|