Skip to content

Commit

Permalink
[ios] fix construction of ImageTransportSurfaceOverlapMacEGL
Browse files Browse the repository at this point in the history
With crrev.com/c/4113981 the constructor for this had changed and
this CL just updates the related ios code.

Bug: 1411704
Change-Id: Iddd28ce8f022d55f8928e74fbc76c832d545a658
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4305201
Commit-Queue: Ian Vollick <vollick@chromium.org>
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1112500}
  • Loading branch information
Ian Vollick authored and Chromium LUCI CQ committed Mar 2, 2023
1 parent 625924a commit 6ffb1d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gpu/ipc/service/image_transport_surface_ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
if (gl::GetGLImplementation() == gl::kGLImplementationEGLGLES2 ||
gl::GetGLImplementation() == gl::kGLImplementationEGLANGLE) {
return base::WrapRefCounted<gl::Presenter>(
new ImageTransportSurfaceOverlayMacEGL(
display->GetAs<gl::GLDisplayEGL>(), delegate));
new ImageTransportSurfaceOverlayMacEGL(delegate));
}

return nullptr;
Expand Down

0 comments on commit 6ffb1d7

Please sign in to comment.