| Index: content/renderer/media/webrtc/video_destination_handler_unittest.cc
|
| diff --git a/content/renderer/media/webrtc/video_destination_handler_unittest.cc b/content/renderer/media/webrtc/video_destination_handler_unittest.cc
|
| index 554c2ec28ac8b2053bdc88f894144c81d506349e..041071f84785f1d9d5b27100c81e19ad82cb59fd 100644
|
| --- a/content/renderer/media/webrtc/video_destination_handler_unittest.cc
|
| +++ b/content/renderer/media/webrtc/video_destination_handler_unittest.cc
|
| @@ -20,6 +20,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| +#include "third_party/WebKit/public/web/WebHeap.h"
|
|
|
| using ::testing::_;
|
|
|
| @@ -40,8 +41,9 @@ class VideoDestinationHandlerTest : public PpapiUnittest {
|
| registry_->Init(kTestStreamUrl);
|
| }
|
|
|
| - virtual void TearDown() {
|
| + virtual void TearDown() OVERRIDE {
|
| registry_.reset();
|
| + blink::WebHeap::collectAllGarbageForTesting();
|
| PpapiUnittest::TearDown();
|
| }
|
|
|
|
|