summaryrefslogtreecommitdiffstats
path: root/ui/compositor/test/test_layer_animation_delegate.h
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2016-02-25 12:31:31 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-25 20:33:17 +0000
commit0ae825e70b6ff80370b7815b51f911add3c22b73 (patch)
treefcfbf775a98f544b3e3fa756d7aa9f0dea5f782a /ui/compositor/test/test_layer_animation_delegate.h
parent41917db43066c1aee50ad5fa9c1f773cc4697fc9 (diff)
downloadchromium_src-0ae825e70b6ff80370b7815b51f911add3c22b73.zip
chromium_src-0ae825e70b6ff80370b7815b51f911add3c22b73.tar.gz
chromium_src-0ae825e70b6ff80370b7815b51f911add3c22b73.tar.bz2
ui: Add out-of-line copy ctors for complex classes.
This patch adds out of line copy constructors for classes that our clang-plugin considers heavy. This is an effort to enable copy constructor checks by default. BUG=436357 R=sky@chromium.org, dcheng@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/1730393002 Cr-Commit-Position: refs/heads/master@{#377657}
Diffstat (limited to 'ui/compositor/test/test_layer_animation_delegate.h')
-rw-r--r--ui/compositor/test/test_layer_animation_delegate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/compositor/test/test_layer_animation_delegate.h b/ui/compositor/test/test_layer_animation_delegate.h
index ef42158..81e8fc2 100644
--- a/ui/compositor/test/test_layer_animation_delegate.h
+++ b/ui/compositor/test/test_layer_animation_delegate.h
@@ -29,6 +29,7 @@ class TestLayerAnimationDelegate : public LayerAnimationDelegate {
public:
TestLayerAnimationDelegate();
explicit TestLayerAnimationDelegate(const LayerAnimationDelegate& other);
+ TestLayerAnimationDelegate(const TestLayerAnimationDelegate& other);
~TestLayerAnimationDelegate() override;
// Implementation of LayerAnimationDelegate