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

Unified Diff: chrome/browser/android/vr_shell/color_scheme.h

Issue 2906423002: [vr] Migrate from vr::Colorf to SkColor (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 | chrome/browser/android/vr_shell/color_scheme.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/color_scheme.h
diff --git a/chrome/browser/android/vr_shell/color_scheme.h b/chrome/browser/android/vr_shell/color_scheme.h
index 1d304397ca39ac1f0ec81bc1fb3ad67a50f145e9..76bb780132da326689e5dbe8e0ac0d7bebf6985c 100644
--- a/chrome/browser/android/vr_shell/color_scheme.h
+++ b/chrome/browser/android/vr_shell/color_scheme.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_ANDROID_VR_SHELL_COLOR_SCHEME_H_
#define CHROME_BROWSER_ANDROID_VR_SHELL_COLOR_SCHEME_H_
-#include "device/vr/vr_types.h"
+#include "third_party/skia/include/core/SkColor.h"
namespace vr_shell {
@@ -21,12 +21,10 @@ struct ColorScheme {
// These colors should be named generically, if possible, so that they can be
// meaningfully reused by multiple elements.
- // TODO(vollick): we should replace all use of vr::Colorf with SkColor (see
- // crbug.com/726363).
- vr::Colorf horizon;
- vr::Colorf floor;
- vr::Colorf ceiling;
- vr::Colorf floor_grid;
+ SkColor horizon;
+ SkColor floor;
+ SkColor ceiling;
+ SkColor floor_grid;
};
} // namespace vr_shell
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/color_scheme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698