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

Unified Diff: cc/trees/property_tree.cc

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « cc/trees/property_tree.h ('k') | chrome/browser/ui/input_method/input_method_engine_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index 7eea35e1152329e819f1dcfafa0ca08607e98d1b..d3b6a7eb752be274bd37c2ed369b550d4ae82359 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -1311,6 +1311,8 @@ ScrollTree::ScrollTree()
: currently_scrolling_node_id_(-1),
layer_id_to_scroll_offset_map_(ScrollTree::ScrollOffsetMap()) {}
+ScrollTree::ScrollTree(const ScrollTree& other) = default;
+
ScrollTree::~ScrollTree() {}
ScrollTree& ScrollTree::operator=(const ScrollTree& from) {
@@ -1720,6 +1722,8 @@ PropertyTrees::PropertyTrees()
scroll_tree.SetPropertyTrees(this);
}
+PropertyTrees::PropertyTrees(const PropertyTrees& other) = default;
+
PropertyTrees::~PropertyTrees() {}
bool PropertyTrees::operator==(const PropertyTrees& other) const {
« no previous file with comments | « cc/trees/property_tree.h ('k') | chrome/browser/ui/input_method/input_method_engine_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698