Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2771)

Unified Diff: android_webview/browser/aw_gl_surface.cc

Issue 320283002: Fix crash when using surfaceless EGL on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix Mac build issue Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/browser/aw_gl_surface.h ('k') | ui/gl/gl_context_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_gl_surface.cc
diff --git a/android_webview/browser/aw_gl_surface.cc b/android_webview/browser/aw_gl_surface.cc
index 5ff927284ddeae906eb2eec6f5c329c232657298..41e230c31b32d62065ffe351577388bfeb5e196f 100644
--- a/android_webview/browser/aw_gl_surface.cc
+++ b/android_webview/browser/aw_gl_surface.cc
@@ -33,6 +33,10 @@ void* AwGLSurface::GetHandle() {
return NULL;
}
+bool AwGLSurface::RepresentsNonOwnedSurface() {
+ return true;
+}
+
void* AwGLSurface::GetDisplay() {
return NULL;
}
« no previous file with comments | « android_webview/browser/aw_gl_surface.h ('k') | ui/gl/gl_context_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698