diff options
author | vmpstr <vmpstr@chromium.org> | 2016-02-24 17:55:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-25 01:56:41 +0000 |
commit | 6aaeb2eea626993638a204284e61bfc2916f9804 (patch) | |
tree | 06fe7b4687849447b015fce4f02d8e503a71cd62 /cc/resources/video_resource_updater.h | |
parent | ae3b7c85a92790c252c470f6fe0c772e5c5959ca (diff) | |
download | chromium_src-6aaeb2eea626993638a204284e61bfc2916f9804.zip chromium_src-6aaeb2eea626993638a204284e61bfc2916f9804.tar.gz chromium_src-6aaeb2eea626993638a204284e61bfc2916f9804.tar.bz2 |
cc: 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=enne@chromium.org, dcheng@chromium.org, thakis@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1732573002
Cr-Commit-Position: refs/heads/master@{#377462}
Diffstat (limited to 'cc/resources/video_resource_updater.h')
-rw-r--r-- | cc/resources/video_resource_updater.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h index 4e11110..1307be9 100644 --- a/cc/resources/video_resource_updater.h +++ b/cc/resources/video_resource_updater.h @@ -69,6 +69,7 @@ class CC_EXPORT VideoFrameExternalResources { float multiplier; VideoFrameExternalResources(); + VideoFrameExternalResources(const VideoFrameExternalResources& other); ~VideoFrameExternalResources(); }; @@ -105,6 +106,7 @@ class CC_EXPORT VideoResourceUpdater const gfx::Size& resource_size, ResourceFormat resource_format, gpu::Mailbox mailbox); + PlaneResource(const PlaneResource& other); }; static bool PlaneResourceMatchesUniqueID(const PlaneResource& plane_resource, |