| Index: ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller.mm
|
| diff --git a/ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller.mm b/ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller.mm
|
| index 99912a1b569191fe8992e59d414286ac204bed03..c39eec386d21b7afdfdd41d3af8c7126c9de10f2 100644
|
| --- a/ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller.mm
|
| +++ b/ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller.mm
|
| @@ -81,7 +81,7 @@ - (instancetype)initWithDelegate:(id<QRScannerViewControllerDelegate>)delegate {
|
| if (self) {
|
| DCHECK(delegate);
|
| _delegate = delegate;
|
| - _cameraController = [[CameraController alloc] initWithDelegate:self];
|
| + _cameraController = [CameraController cameraControllerWithDelegate:self];
|
| }
|
| return self;
|
| }
|
|
|