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

Unified Diff: ui/display/display.h

Issue 2253293002: Mojo C++ bindings: change the first template parameter of StructTraits and UnionTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@91_extra
Patch Set: rebase Created 4 years, 4 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: ui/display/display.h
diff --git a/ui/display/display.h b/ui/display/display.h
index e0b4cc87568e012f40b29d7bccbd504eb4561121..17bb00bb49139ea5225a24b95ae561b05b19c3b9 100644
--- a/ui/display/display.h
+++ b/ui/display/display.h
@@ -19,7 +19,7 @@ namespace display {
#if !defined(OS_IOS)
namespace mojom {
-class Display;
+class DisplayDataView;
}
#endif
@@ -186,7 +186,8 @@ class DISPLAY_EXPORT Display final {
int depth_per_component_;
#if !defined(OS_IOS)
- friend struct mojo::StructTraits<display::mojom::Display, display::Display>;
+ friend struct mojo::StructTraits<display::mojom::DisplayDataView,
+ display::Display>;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698