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

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

Issue 2911943002: [vr] Add incognito coloring (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
Index: chrome/browser/android/vr_shell/ui_elements/textured_element.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/textured_element.cc b/chrome/browser/android/vr_shell/ui_elements/textured_element.cc
index b2603054236f2b5e6405bea4b139db608977fde4..c734358fb6c87b74369f5f967fe0150e4c21c9b1 100644
--- a/chrome/browser/android/vr_shell/ui_elements/textured_element.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/textured_element.cc
@@ -65,4 +65,8 @@ void TexturedElement::Flush(SkSurface* surface) {
GL_RGBA, GL_UNSIGNED_BYTE, pixmap.addr());
}
+void TexturedElement::OnSetMode() {
+ GetTexture()->SetMode(mode());
+}
+
} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698