Fix shadowed variable in ContentInfo

Bug: webrtc:8714
Change-Id: I107b7d5908cf6efe7f114522959da4503450d7fc
Reviewed-on: https://webrtc-review.googlesource.com/37724
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21506}
This commit is contained in:
Steve Anton 2018-01-05 11:27:54 -08:00 committed by Commit Bot
parent 276763201d
commit 8171211f97

View File

@ -313,15 +313,17 @@ struct ContentInfo {
const MediaContentDescription* media_description() const {
return description;
}
void set_media_description(MediaContentDescription* description) {
this->description = description;
void set_media_description(MediaContentDescription* desc) {
description = desc;
}
// TODO(bugs.webrtc.org/8520): Rename this to mid.
// TODO(bugs.webrtc.org/8620): Rename this to mid.
std::string name;
MediaProtocolType type;
bool rejected = false;
bool bundle_only = false;
// TODO(bugs.webrtc.org/8620): Switch to the getter and setter, and make this
// private.
MediaContentDescription* description = nullptr;
};