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

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

Issue 2926643003: [VrShell] Centralize color handling and enable close button on fullscreen (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_shell_gl.cc
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.cc b/chrome/browser/android/vr_shell/vr_shell_gl.cc
index c0c8e06377b5d06ea5ea0275e25df22359eb1faa..6f3e8c2d1c8a2b760764fa6fc3b7b3c57402774a 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.cc
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.cc
@@ -1131,7 +1131,7 @@ void VrShellGl::DrawWorldElements(const vr::Mat4f& head_pose) {
glEnable(GL_DEPTH_TEST);
glDepthMask(GL_TRUE);
- const SkColor backgroundColor = scene_->GetBackgroundColor();
+ const SkColor backgroundColor = scene_->GetWorldBackgroundColor();
glClearColor(SkColorGetR(backgroundColor) / 255.0,
SkColorGetG(backgroundColor) / 255.0,
SkColorGetB(backgroundColor) / 255.0,
« no previous file with comments | « chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698