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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/loading_indicator.cc

Issue 2893853002: WebVR: Ensure loading indicator starts hidden. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | 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/ui_elements/loading_indicator.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/loading_indicator.cc b/chrome/browser/android/vr_shell/ui_elements/loading_indicator.cc
index f3c115f94e0e12113b05af3c54d6c829bb2ed348..7777c11ae1ac76e8d7d45ab1dc6aac0ac25309ff 100644
--- a/chrome/browser/android/vr_shell/ui_elements/loading_indicator.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/loading_indicator.cc
@@ -16,7 +16,9 @@ static constexpr int kVisibilityTimeoutMs = 200;
LoadingIndicator::LoadingIndicator(int preferred_width)
: TexturedElement(preferred_width),
- texture_(base::MakeUnique<LoadingIndicatorTexture>()) {}
+ texture_(base::MakeUnique<LoadingIndicatorTexture>()) {
+ set_visible(false);
+}
LoadingIndicator::~LoadingIndicator() = default;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698