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

Side by Side Diff: blimp/client/app/android/blimp_view.cc

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "blimp/client/app/android/blimp_view.h" 5 #include "blimp/client/app/android/blimp_view.h"
6 6
7 #include <android/native_window_jni.h> 7 #include <android/native_window_jni.h>
8 8
9 #include "blimp/client/app/android/blimp_client_session_android.h" 9 #include "blimp/client/app/android/blimp_client_session_android.h"
10 #include "blimp/net/blimp_stats.h" 10 #include "blimp/net/blimp_stats.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 raw_pos_x - pos_x_0, 173 raw_pos_x - pos_x_0,
174 raw_pos_y - pos_y_0, 174 raw_pos_y - pos_y_0,
175 pointer0, 175 pointer0,
176 pointer1); 176 pointer1);
177 177
178 return compositor_manager_->OnTouchEvent(event); 178 return compositor_manager_->OnTouchEvent(event);
179 } 179 }
180 180
181 void BlimpView::OnSwapBuffersCompleted() { 181 void BlimpView::OnSwapBuffersCompleted() {
182 JNIEnv* env = base::android::AttachCurrentThread(); 182 JNIEnv* env = base::android::AttachCurrentThread();
183 Java_BlimpView_onSwapBuffersCompleted(env, java_obj_.obj()); 183 Java_BlimpView_onSwapBuffersCompleted(env, java_obj_);
184 } 184 }
185 185
186 void BlimpView::DidCommitAndDrawFrame() { 186 void BlimpView::DidCommitAndDrawFrame() {
187 BlimpStats::GetInstance()->Add(BlimpStats::COMMIT, 1); 187 BlimpStats::GetInstance()->Add(BlimpStats::COMMIT, 1);
188 } 188 }
189 189
190 } // namespace client 190 } // namespace client
191 } // namespace blimp 191 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/app/android/blimp_client_session_android.cc ('k') | blimp/client/app/android/toolbar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698