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

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: 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.h
diff --git a/chrome/browser/android/vr_shell/vr_compositor.h b/chrome/browser/android/vr_shell/vr_compositor.h
index a0e872029c7484871c01c28b90763d5adba8e413..533367bde06615f1f51139a47da9b3d1d639528c 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);
@@ -46,7 +45,6 @@ class VrCompositor : public content::CompositorClient {
private:
std::unique_ptr<content::Compositor> compositor_;
- gfx::Size bounds_;
cc::Layer* layer_ = nullptr;
cc::Layer* layer_parent_ = nullptr;

Powered by Google App Engine
This is Rietveld 408576698