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

Unified Diff: android_webview/native/aw_gl_functor.cc

Issue 1904453004: Transfer DrawGLFunctor ownership from AwContents to AwGLFunctor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: android_webview/native/aw_gl_functor.cc
diff --git a/android_webview/native/aw_gl_functor.cc b/android_webview/native/aw_gl_functor.cc
index cd88a7fe0af8bdaf69b81b447924494df0bdc810..60e3f05be8978d094df8e2ac460e2dbb9ca36a5f 100644
--- a/android_webview/native/aw_gl_functor.cc
+++ b/android_webview/native/aw_gl_functor.cc
@@ -41,13 +41,13 @@ void AwGLFunctor::OnParentDrawConstraintsUpdated() {
browser_view_renderer_->OnParentDrawConstraintsUpdated();
}
-bool AwGLFunctor::RequestDrawGL(bool wait_for_completion) {
+bool AwGLFunctor::RequestInvokeGL(bool wait_for_completion) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
if (obj.is_null())
return false;
- return Java_AwGLFunctor_requestDrawGL(env, obj.obj(), wait_for_completion);
+ return Java_AwGLFunctor_requestInvokeGL(env, obj.obj(), wait_for_completion);
}
void AwGLFunctor::DetachFunctorFromView() {

Powered by Google App Engine
This is Rietveld 408576698