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

Unified Diff: components/mus/ws/user_display_manager_unittest.cc

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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: components/mus/ws/user_display_manager_unittest.cc
diff --git a/components/mus/ws/user_display_manager_unittest.cc b/components/mus/ws/user_display_manager_unittest.cc
index 8555429354c04d3a57a2e5d592257c744fd2892f..24eb4772ee9c0e29686fe38caef6862a5b93eb4a 100644
--- a/components/mus/ws/user_display_manager_unittest.cc
+++ b/components/mus/ws/user_display_manager_unittest.cc
@@ -81,11 +81,7 @@ class TestDisplayManagerObserver : public mojom::DisplayManagerObserver {
};
mojom::FrameDecorationValuesPtr CreateDefaultFrameDecorationValues() {
- mojom::FrameDecorationValuesPtr frame_decoration_values =
- mojom::FrameDecorationValues::New();
- frame_decoration_values->normal_client_area_insets = mojo::Insets::New();
- frame_decoration_values->maximized_client_area_insets = mojo::Insets::New();
- return frame_decoration_values;
+ return mojom::FrameDecorationValues::New();
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698