diff options
author | adam@github.com <adam@github.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 21:04:12 +0000 |
---|---|---|
committer | adam@github.com <adam@github.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 21:04:12 +0000 |
commit | 7ee61d399c60db7bd0f04b0d4cb08fe4ef1867ae (patch) | |
tree | 419e1b7f544e2b0489d455dbaacf6296e342fa76 | |
parent | 3882aae7814710f371c30f7c9e0c56d77d531f82 (diff) | |
download | chromium_src-7ee61d399c60db7bd0f04b0d4cb08fe4ef1867ae.zip chromium_src-7ee61d399c60db7bd0f04b0d4cb08fe4ef1867ae.tar.gz chromium_src-7ee61d399c60db7bd0f04b0d4cb08fe4ef1867ae.tar.bz2 |
Mark DOMStorageHost as non-copyable
It contains a std::map that would be expensive to copy, and the default
copy/assignment members would be generated inline, bloating the binary
size.
Add GitHub to AUTHORS
The CLA was signed back in June.
R=mal@chromium.org, marja@chromium.org, michaeln@chromium.org
BUG=
Review URL: https://codereview.chromium.org/155933003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250501 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | content/browser/dom_storage/dom_storage_host.h | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,7 @@ Aaron Jacobs <samusaaron3@gmail.com> Aaron Leventhal <aaronlevbugs@gmail.com> Aaron Randolph <aaron.randolph@gmail.com> +Adam Roben <adam@github.com> Adam Treat <adam.treat@samsung.com> Adenilson Cavalcanti <a.cavalcanti@partner.samsung.com> Aditya Bhargava <heuristicist@gmail.com> diff --git a/content/browser/dom_storage/dom_storage_host.h b/content/browser/dom_storage/dom_storage_host.h index f4ca784..10d5919 100644 --- a/content/browser/dom_storage/dom_storage_host.h +++ b/content/browser/dom_storage/dom_storage_host.h @@ -81,6 +81,8 @@ class CONTENT_EXPORT DOMStorageHost { scoped_refptr<DOMStorageContextImpl> context_; AreaMap connections_; int render_process_id_; + + DISALLOW_COPY_AND_ASSIGN(DOMStorageHost); }; } // namespace content |