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

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

Issue 2658643003: Refactor GvrDelegate ownership into GvrDelegateProvider and fix more threading violations. (Closed)
Patch Set: cleanup Created 3 years, 11 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: 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 882236f53d8c54bc360732be0577f7ce87a000b4..3f6292c0ea60db93c15fb5f048a604a20300a9f4 100644
--- a/chrome/browser/android/vr_shell/vr_compositor.cc
+++ b/chrome/browser/android/vr_shell/vr_compositor.cc
@@ -55,8 +55,7 @@ void VrCompositor::SurfaceDestroyed() {
}
void VrCompositor::SetWindowBounds(gfx::Size size) {
- bounds_ = size;
- compositor_->SetWindowBounds(bounds_);
+ compositor_->SetWindowBounds(size);
}
void VrCompositor::SurfaceChanged(jobject surface) {

Powered by Google App Engine
This is Rietveld 408576698