Skip to content

Commit 7bc5c6b

Browse files
Steven Morelandandroid-build-merge-worker-robot
authored andcommitted
Merge changes from topic "refbase-lar" into main am: ea332b7
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3474558 Change-Id: I069797d350cafbb527a7d0e154e6987cbc67f01f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2 parents 872cb01 + ea332b7 commit 7bc5c6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ android_eglCreateWindowSurfaceTexture
113113
if (producer == NULL)
114114
goto not_valid_surface;
115115

116-
window = new android::Surface(producer, true);
116+
window = android::sp<android::Surface>::make(producer, true);
117117

118118
if (window == NULL)
119119
goto not_valid_surface;

0 commit comments

Comments
 (0)