From 39ef04f2fd0e8064eeedb8deaa6742a061f4698e Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Wed, 22 Jul 2015 14:58:19 -0700 Subject: [PATCH] Bug 1188150 - Move ContainerParser dtor to implementation. r=jya This blocks inlining so callers don't have to include SourceBufferResource.h &c. Intended to simplify unit tests. --- dom/media/mediasource/ContainerParser.cpp | 2 ++ dom/media/mediasource/ContainerParser.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dom/media/mediasource/ContainerParser.cpp b/dom/media/mediasource/ContainerParser.cpp index 7d67133d7227..937d577bb72d 100644 --- a/dom/media/mediasource/ContainerParser.cpp +++ b/dom/media/mediasource/ContainerParser.cpp @@ -39,6 +39,8 @@ ContainerParser::ContainerParser(const nsACString& aType) { } +ContainerParser::~ContainerParser() = default; + bool ContainerParser::IsInitSegmentPresent(MediaByteBuffer* aData) { diff --git a/dom/media/mediasource/ContainerParser.h b/dom/media/mediasource/ContainerParser.h index 998da0dd8aa1..96914e12ee22 100644 --- a/dom/media/mediasource/ContainerParser.h +++ b/dom/media/mediasource/ContainerParser.h @@ -19,7 +19,7 @@ class SourceBufferResource; class ContainerParser { public: explicit ContainerParser(const nsACString& aType); - virtual ~ContainerParser() = default; + virtual ~ContainerParser(); // Return true if aData starts with an initialization segment. // The base implementation exists only for debug logging and is expected