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

Unified Diff: content/browser/android/content_view_render_view.cc

Issue 2718903002: android: Rename SwapBuffers to SwapFrames (Closed)
Patch Set: Created 3 years, 10 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: content/browser/android/content_view_render_view.cc
diff --git a/content/browser/android/content_view_render_view.cc b/content/browser/android/content_view_render_view.cc
index 177d3f60aa40d34d44d814409febce10110d32e4..1bd5d25c5a0ea0fdffbb06f6a6dab6823f1b99fe 100644
--- a/content/browser/android/content_view_render_view.cc
+++ b/content/browser/android/content_view_render_view.cc
@@ -110,9 +110,9 @@ void ContentViewRenderView::UpdateLayerTreeHost() {
// Compositor related classes.
}
-void ContentViewRenderView::OnSwapBuffersCompleted(int pending_swap_buffers) {
+void ContentViewRenderView::DidSwapFrame(int pending_frames) {
JNIEnv* env = base::android::AttachCurrentThread();
- Java_ContentViewRenderView_onSwapBuffersCompleted(env, java_obj_);
+ Java_ContentViewRenderView_didSwapFrame(env, java_obj_);
}
void ContentViewRenderView::InitCompositor() {
« no previous file with comments | « content/browser/android/content_view_render_view.h ('k') | content/browser/renderer_host/compositor_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698