summaryrefslogtreecommitdiffstats
path: root/components/mus
diff options
context:
space:
mode:
Diffstat (limited to 'components/mus')
-rw-r--r--components/mus/ws/platform_display_init_params.cc2
-rw-r--r--components/mus/ws/platform_display_init_params.h1
-rw-r--r--components/mus/ws/test_change_tracker.cc4
-rw-r--r--components/mus/ws/test_change_tracker.h2
4 files changed, 9 insertions, 0 deletions
diff --git a/components/mus/ws/platform_display_init_params.cc b/components/mus/ws/platform_display_init_params.cc
index 398a6ba..94ad22d 100644
--- a/components/mus/ws/platform_display_init_params.cc
+++ b/components/mus/ws/platform_display_init_params.cc
@@ -11,6 +11,8 @@ namespace mus {
namespace ws {
PlatformDisplayInitParams::PlatformDisplayInitParams() {}
+PlatformDisplayInitParams::PlatformDisplayInitParams(
+ const PlatformDisplayInitParams& other) = default;
PlatformDisplayInitParams::~PlatformDisplayInitParams() {}
} // namespace ws
diff --git a/components/mus/ws/platform_display_init_params.h b/components/mus/ws/platform_display_init_params.h
index 81cc1b0..f097a0f 100644
--- a/components/mus/ws/platform_display_init_params.h
+++ b/components/mus/ws/platform_display_init_params.h
@@ -20,6 +20,7 @@ namespace ws {
struct PlatformDisplayInitParams {
PlatformDisplayInitParams();
+ PlatformDisplayInitParams(const PlatformDisplayInitParams& other);
~PlatformDisplayInitParams();
mojo::Connector* connector = nullptr;
diff --git a/components/mus/ws/test_change_tracker.cc b/components/mus/ws/test_change_tracker.cc
index 8416f95..aefa54e 100644
--- a/components/mus/ws/test_change_tracker.cc
+++ b/components/mus/ws/test_change_tracker.cc
@@ -198,6 +198,8 @@ Change::Change()
bool_value(false),
change_id(0u) {}
+Change::Change(const Change& other) = default;
+
Change::~Change() {}
TestChangeTracker::TestChangeTracker() : delegate_(NULL) {}
@@ -391,6 +393,8 @@ void TestChangeTracker::AddChange(const Change& change) {
TestWindow::TestWindow() {}
+TestWindow::TestWindow(const TestWindow& other) = default;
+
TestWindow::~TestWindow() {}
std::string TestWindow::ToString() const {
diff --git a/components/mus/ws/test_change_tracker.h b/components/mus/ws/test_change_tracker.h
index 7f64d84..46103bc 100644
--- a/components/mus/ws/test_change_tracker.h
+++ b/components/mus/ws/test_change_tracker.h
@@ -46,6 +46,7 @@ enum ChangeType {
// TODO(sky): consider nuking and converting directly to WindowData.
struct TestWindow {
TestWindow();
+ TestWindow(const TestWindow& other);
~TestWindow();
// Returns a string description of this.
@@ -65,6 +66,7 @@ struct TestWindow {
// fields that are used.
struct Change {
Change();
+ Change(const Change& other);
~Change();
ChangeType type;