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

Unified Diff: gpu/command_buffer/client/program_info_manager.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
Index: gpu/command_buffer/client/program_info_manager.cc
diff --git a/gpu/command_buffer/client/program_info_manager.cc b/gpu/command_buffer/client/program_info_manager.cc
index adfb620c10fcff5c1b8190a3425a3b3adadd41f3..106e069c3be31fbb160a242aae2c2ad8482b482f 100644
--- a/gpu/command_buffer/client/program_info_manager.cc
+++ b/gpu/command_buffer/client/program_info_manager.cc
@@ -46,6 +46,9 @@ ProgramInfoManager::Program::UniformInfo::UniformInfo(
DCHECK(!(size > 1 && !is_array));
}
+ProgramInfoManager::Program::UniformInfo::UniformInfo(
+ const UniformInfo& other) = default;
+
ProgramInfoManager::Program::UniformInfo::~UniformInfo() {
}
@@ -67,6 +70,9 @@ ProgramInfoManager::Program::UniformBlock::UniformBlock()
referenced_by_fragment_shader(false) {
}
+ProgramInfoManager::Program::UniformBlock::UniformBlock(
+ const UniformBlock& other) = default;
+
ProgramInfoManager::Program::UniformBlock::~UniformBlock() {
}
@@ -93,6 +99,8 @@ ProgramInfoManager::Program::Program()
cached_es3_uniformsiv_(false) {
}
+ProgramInfoManager::Program::Program(const Program& other) = default;
+
ProgramInfoManager::Program::~Program() {
}

Powered by Google App Engine
This is Rietveld 408576698