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

Unified Diff: gpu/command_buffer/service/texture_definition.cc

Issue 1725113002: gpu: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « gpu/command_buffer/service/texture_definition.h ('k') | gpu/command_buffer/service/texture_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index f04bd6f0ee596e3b6663439d1b162d124971ec32..c1669683911ad584d245b544c6884cd9ece2818f 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -310,6 +310,8 @@ TextureDefinition::LevelInfo::LevelInfo(GLenum target,
cleared_rect(cleared_rect) {
}
+TextureDefinition::LevelInfo::LevelInfo(const LevelInfo& other) = default;
+
TextureDefinition::LevelInfo::~LevelInfo() {}
TextureDefinition::TextureDefinition()
@@ -357,6 +359,8 @@ TextureDefinition::TextureDefinition(
level.type, level.cleared_rect);
}
+TextureDefinition::TextureDefinition(const TextureDefinition& other) = default;
+
TextureDefinition::~TextureDefinition() {
}
« no previous file with comments | « gpu/command_buffer/service/texture_definition.h ('k') | gpu/command_buffer/service/texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698