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

Unified Diff: chrome/browser/android/vr_shell/textures/ui_texture.cc

Issue 2877133002: VR: Add a loading indicator to the scene. (Closed)
Patch Set: Rebase onto render text change. 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
Index: chrome/browser/android/vr_shell/textures/ui_texture.cc
diff --git a/chrome/browser/android/vr_shell/textures/ui_texture.cc b/chrome/browser/android/vr_shell/textures/ui_texture.cc
index 4d3153cc46b1a03cb32e5cd9bef174284d9ce327..93e773b8a79f0a5e64049750abff906e3fbe67d5 100644
--- a/chrome/browser/android/vr_shell/textures/ui_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/ui_texture.cc
@@ -80,6 +80,7 @@ bool UiTexture::SetDrawFlags(int draw_flags) {
void UiTexture::DrawAndLayout(SkCanvas* canvas, const gfx::Size& texture_size) {
TRACE_EVENT0("gpu", "UiTexture::DrawAndLayout");
canvas->drawColor(SK_ColorTRANSPARENT);
+ dirty_ = false;
Draw(canvas, texture_size);
}
« no previous file with comments | « chrome/browser/android/vr_shell/textures/ui_texture.h ('k') | chrome/browser/android/vr_shell/textures/url_bar_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698