diff options
author | vmpstr <vmpstr@chromium.org> | 2016-03-24 13:22:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-24 20:25:04 +0000 |
commit | bf0d713a72db33bdf6c51d65f009f73e822db3e0 (patch) | |
tree | fa6a45c9d24364ee4bbb6c2ca642ed55378a4a2c /content/common | |
parent | 1b9ba3a73f704481805e775df401a5bfd21ee3a9 (diff) | |
download | chromium_src-bf0d713a72db33bdf6c51d65f009f73e822db3e0.zip chromium_src-bf0d713a72db33bdf6c51d65f009f73e822db3e0.tar.gz chromium_src-bf0d713a72db33bdf6c51d65f009f73e822db3e0.tar.bz2 |
Add more out of line copy ctors for complex classes.
This patch adds the remaining copy constructors for complex classes.
After this patch, it should be possible to enable the heavy class copy
constructor checks by default.
R=thakis@chromium.org, dcheng@chromium.org
TBR=jam@chromium.org
BUG=436357
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1825273002
Cr-Commit-Position: refs/heads/master@{#383131}
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/frame_replication_state.cc | 3 | ||||
-rw-r--r-- | content/common/frame_replication_state.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/content/common/frame_replication_state.cc b/content/common/frame_replication_state.cc index 13cd626..00e835f 100644 --- a/content/common/frame_replication_state.cc +++ b/content/common/frame_replication_state.cc @@ -31,6 +31,9 @@ FrameReplicationState::FrameReplicationState( has_potentially_trustworthy_unique_origin( has_potentially_trustworthy_unique_origin) {} +FrameReplicationState::FrameReplicationState( + const FrameReplicationState& other) = default; + FrameReplicationState::~FrameReplicationState() { } diff --git a/content/common/frame_replication_state.h b/content/common/frame_replication_state.h index 9ec7b8b..f637349 100644 --- a/content/common/frame_replication_state.h +++ b/content/common/frame_replication_state.h @@ -25,6 +25,7 @@ struct CONTENT_EXPORT FrameReplicationState { blink::WebSandboxFlags sandbox_flags, bool should_enforce_strict_mixed_content_checking, bool has_potentially_trustworthy_unique_origin); + FrameReplicationState(const FrameReplicationState& other); ~FrameReplicationState(); // Current origin of the frame. This field is updated whenever a frame |