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

Unified Diff: chrome/browser/android/vr_shell/vr_compositor.cc

Issue 2562733002: Implement our own GLThread for VR Shell. (Closed)
Patch Set: sigh Created 4 years 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 | « chrome/browser/android/vr_shell/vr_compositor.h ('k') | chrome/browser/android/vr_shell/vr_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_compositor.cc
diff --git a/chrome/browser/android/vr_shell/vr_compositor.cc b/chrome/browser/android/vr_shell/vr_compositor.cc
index 6681e8d340d0ec573e1fd6d55f210358e5bffabd..9d5d05e29802743fde8a8dc4b41f32b615bbaa6f 100644
--- a/chrome/browser/android/vr_shell/vr_compositor.cc
+++ b/chrome/browser/android/vr_shell/vr_compositor.cc
@@ -10,8 +10,6 @@
#include "third_party/skia/include/core/SkColor.h"
#include "ui/android/window_android.h"
-using base::android::JavaParamRef;
-
namespace vr_shell {
VrCompositor::VrCompositor(ui::WindowAndroid* window, bool transparent)
@@ -60,7 +58,7 @@ void VrCompositor::SetWindowBounds(int width, int height) {
compositor_->SetWindowBounds(gfx::Size(width, height));
}
-void VrCompositor::SurfaceChanged(const JavaParamRef<jobject>& surface) {
+void VrCompositor::SurfaceChanged(jobject surface) {
DCHECK(surface);
compositor_->SetSurface(surface);
}
« no previous file with comments | « chrome/browser/android/vr_shell/vr_compositor.h ('k') | chrome/browser/android/vr_shell/vr_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698