Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: components/copresence/handlers/audio/audio_directive_handler_unittest.cc

Issue 453203002: Fixing memory leak in TimedMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/copresence/handlers/audio/audio_directive_handler_unittest.cc
diff --git a/components/copresence/handlers/audio/audio_directive_handler_unittest.cc b/components/copresence/handlers/audio/audio_directive_handler_unittest.cc
index d637c900720e67fa5aa30f516d96c2e85caf04dc..6849f51c27dcb16d04197f0bc372847179d9aba6 100644
--- a/components/copresence/handlers/audio/audio_directive_handler_unittest.cc
+++ b/components/copresence/handlers/audio/audio_directive_handler_unittest.cc
@@ -75,10 +75,7 @@ class AudioDirectiveHandlerTest : public testing::Test {
DISALLOW_COPY_AND_ASSIGN(AudioDirectiveHandlerTest);
};
-// TODO(rkc): Find and fix the memory leak here.
-#define MAYBE_Basic DISABLED_Basic
-
-TEST_F(AudioDirectiveHandlerTest, MAYBE_Basic) {
+TEST_F(AudioDirectiveHandlerTest, Basic) {
const base::TimeDelta kSmallTtl = base::TimeDelta::FromMilliseconds(0x1337);
const base::TimeDelta kLargeTtl = base::TimeDelta::FromSeconds(0x7331);

Powered by Google App Engine
This is Rietveld 408576698