summaryrefslogtreecommitdiffstats
path: root/remoting/base
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base')
-rw-r--r--remoting/base/compound_buffer.cc2
-rw-r--r--remoting/base/compound_buffer.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/remoting/base/compound_buffer.cc b/remoting/base/compound_buffer.cc
index 2808f6d..a766abe 100644
--- a/remoting/base/compound_buffer.cc
+++ b/remoting/base/compound_buffer.cc
@@ -17,6 +17,8 @@ CompoundBuffer::DataChunk::DataChunk(
size(size_value) {
}
+CompoundBuffer::DataChunk::~DataChunk() {}
+
CompoundBuffer::CompoundBuffer()
: total_bytes_(0),
locked_(false) {
diff --git a/remoting/base/compound_buffer.h b/remoting/base/compound_buffer.h
index 1b0a546..eef8d13 100644
--- a/remoting/base/compound_buffer.h
+++ b/remoting/base/compound_buffer.h
@@ -83,6 +83,7 @@ class CompoundBuffer {
struct DataChunk {
DataChunk(net::IOBuffer* buffer, const char* start, int size);
+ ~DataChunk();
scoped_refptr<net::IOBuffer> buffer;
const char* start;