Update libjingle to 55618622.
Update libyuv to r826. TEST=try bots R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2889004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5038 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -88,7 +88,7 @@ class Buffer {
|
||||
}
|
||||
void SetCapacity(size_t capacity) {
|
||||
if (capacity > capacity_) {
|
||||
talk_base::scoped_array<char> data(new char[capacity]);
|
||||
talk_base::scoped_ptr<char[]> data(new char[capacity]);
|
||||
memcpy(data.get(), data_.get(), length_);
|
||||
data_.swap(data);
|
||||
capacity_ = capacity;
|
||||
@@ -109,7 +109,7 @@ class Buffer {
|
||||
SetData(data, length);
|
||||
}
|
||||
|
||||
scoped_array<char> data_;
|
||||
scoped_ptr<char[]> data_;
|
||||
size_t length_;
|
||||
size_t capacity_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user