Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7443b60

Browse files
committed
Fix test surface
1 parent 45dbbbf commit 7443b60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_gl_surface.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void* TestGLSurface::GetProcAddress(const char* name) const {
248248
return reinterpret_cast<void*>(symbol);
249249
}
250250

251-
sk_sp<GrContext> TestGLSurface::GetGrContext() {
251+
sk_sp<GrDirectContext> TestGLSurface::GetGrContext() {
252252
if (context_) {
253253
return context_;
254254
}
@@ -258,7 +258,7 @@ sk_sp<GrContext> TestGLSurface::GetGrContext() {
258258
return context_;
259259
}
260260

261-
sk_sp<GrContext> TestGLSurface::CreateGrContext() {
261+
sk_sp<GrDirectContext> TestGLSurface::CreateGrContext() {
262262
if (!MakeCurrent()) {
263263
return nullptr;
264264
}

0 commit comments

Comments
 (0)