summaryrefslogtreecommitdiff
path: root/chromium/ipc/ipc_message_attachment_set.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-08 10:28:10 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-20 13:40:30 +0000
commite733310db58160074f574c429d48f8308c0afe17 (patch)
treef8aef4b7e62a69928dbcf880620eece20f98c6df /chromium/ipc/ipc_message_attachment_set.cc
parent2f583e4aec1ae3a86fa047829c96b310dc12ecdf (diff)
downloadqtwebengine-chromium-e733310db58160074f574c429d48f8308c0afe17.tar.gz
BASELINE: Update Chromium to 56.0.2924.122
Change-Id: I4e04de8f47e47e501c46ed934c76a431c6337ced Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/ipc/ipc_message_attachment_set.cc')
-rw-r--r--chromium/ipc/ipc_message_attachment_set.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/chromium/ipc/ipc_message_attachment_set.cc b/chromium/ipc/ipc_message_attachment_set.cc
index 3b7eefb9a6e..068e9d29c8f 100644
--- a/chromium/ipc/ipc_message_attachment_set.cc
+++ b/chromium/ipc/ipc_message_attachment_set.cc
@@ -184,23 +184,6 @@ MessageAttachmentSet::GetBrokerableAttachments() const {
return brokerable_attachments_;
}
-void MessageAttachmentSet::ReplacePlaceholderWithAttachment(
- const scoped_refptr<BrokerableAttachment>& attachment) {
- DCHECK_NE(BrokerableAttachment::PLACEHOLDER, attachment->GetBrokerableType());
- for (auto it = brokerable_attachments_.begin();
- it != brokerable_attachments_.end(); ++it) {
- if ((*it)->GetBrokerableType() == BrokerableAttachment::PLACEHOLDER &&
- (*it)->GetIdentifier() == attachment->GetIdentifier()) {
- *it = attachment;
- return;
- }
- }
-
- // This function should only be called if there is a placeholder ready to be
- // replaced.
- NOTREACHED();
-}
-
#if defined(OS_POSIX)
void MessageAttachmentSet::PeekDescriptors(base::PlatformFile* buffer) const {