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

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

Issue 2658643003: Refactor GvrDelegate ownership into GvrDelegateProvider and fix more threading violations. (Closed)
Patch Set: Address comments 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.h
diff --git a/chrome/browser/android/vr_shell/vr_compositor.h b/chrome/browser/android/vr_shell/vr_compositor.h
index 7238ad88034c8135910238d86f699f7ad866a648..20aac81a028689ccbf1c6fd84bc08042932b8c8b 100644
--- a/chrome/browser/android/vr_shell/vr_compositor.h
+++ b/chrome/browser/android/vr_shell/vr_compositor.h
@@ -36,7 +36,6 @@ class VrCompositor : public content::CompositorClient {
void SurfaceDestroyed();
void SetWindowBounds(gfx::Size size);
- gfx::Size GetWindowBounds() { return bounds_; }
void SurfaceChanged(jobject surface);
void SetLayer(content::WebContents* web_contents);
@@ -48,7 +47,6 @@ class VrCompositor : public content::CompositorClient {
void RestoreLayer();
std::unique_ptr<content::Compositor> compositor_;
- gfx::Size bounds_;
cc::Layer* layer_ = nullptr;
cc::Layer* layer_parent_ = nullptr;
« no previous file with comments | « chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc ('k') | chrome/browser/android/vr_shell/vr_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698