| Index: ios/web/web_state/js/crw_js_injection_manager_unittest.mm
|
| diff --git a/ios/web/web_state/js/crw_js_injection_manager_unittest.mm b/ios/web/web_state/js/crw_js_injection_manager_unittest.mm
|
| index 7f363f8ee8880f65104bd1dabc1713648c415bd5..7478d9a2fe1766aea3b56c26c203c94b4b4bdc13 100644
|
| --- a/ios/web/web_state/js/crw_js_injection_manager_unittest.mm
|
| +++ b/ios/web/web_state/js/crw_js_injection_manager_unittest.mm
|
| @@ -7,9 +7,9 @@
|
| #include <stddef.h>
|
| #import <Foundation/Foundation.h>
|
|
|
| +#import "ios/web/public/test/web_test_with_web_state.h"
|
| #import "ios/web/public/web_state/js/crw_js_injection_receiver.h"
|
| #import "ios/web/public/web_state/web_state.h"
|
| -#import "ios/web/test/web_test.h"
|
| #include "testing/gtest_mac.h"
|
|
|
| // Testing class of JsInjectioManager that has no dependencies.
|
| @@ -158,10 +158,10 @@
|
| namespace web {
|
|
|
| // Test fixture to test web controller injection.
|
| -class JsInjectionManagerTest : public web::WebTestWithWebController {
|
| +class JsInjectionManagerTest : public web::WebTestWithWebState {
|
| protected:
|
| void SetUp() override {
|
| - web::WebTestWithWebController::SetUp();
|
| + web::WebTestWithWebState::SetUp();
|
| // Loads a dummy page to prepare JavaScript evaluation.
|
| NSString* const kPageContent = @"<html><body><div></div></body></html>";
|
| LoadHtml(kPageContent);
|
|
|