summaryrefslogtreecommitdiff
path: root/chromium/content/browser/media/session/media_session_delegate_android_browsertest.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-07-14 17:41:05 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-08-04 12:37:36 +0000
commit399c965b6064c440ddcf4015f5f8e9d131c7a0a6 (patch)
tree6b06b60ff365abef0e13b3503d593a0df48d20e8 /chromium/content/browser/media/session/media_session_delegate_android_browsertest.cc
parent7366110654eec46f21b6824f302356426f48cd74 (diff)
downloadqtwebengine-chromium-399c965b6064c440ddcf4015f5f8e9d131c7a0a6.tar.gz
BASELINE: Update Chromium to 52.0.2743.76 and Ninja to 1.7.1
Change-Id: I382f51b959689505a60f8b707255ecb344f7d8b4 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/content/browser/media/session/media_session_delegate_android_browsertest.cc')
-rw-r--r--chromium/content/browser/media/session/media_session_delegate_android_browsertest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/content/browser/media/session/media_session_delegate_android_browsertest.cc b/chromium/content/browser/media/session/media_session_delegate_android_browsertest.cc
index cfc844c406a..440092f4e1d 100644
--- a/chromium/content/browser/media/session/media_session_delegate_android_browsertest.cc
+++ b/chromium/content/browser/media/session/media_session_delegate_android_browsertest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
+
#include "base/command_line.h"
#include "base/run_loop.h"
#include "content/browser/media/session/media_session.h"
@@ -16,9 +18,8 @@ class MediaSessionDelegateAndroidBrowserTest : public ContentBrowserTest {};
// MAYBE_OnAudioFocusChangeAfterDtorCrash will hit a DCHECK before the crash, it
// is the only way found to actually reproduce the crash so as a result, the
// test will only run on builds without DCHECK's.
-// TODO(mlamouri): the test is flaky on one bot. It is disabled until the cause
-// is found.
#if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
+// TODO(crbug.com/602787) The test is flaky, disabling it everywhere.
#define MAYBE_OnAudioFocusChangeAfterDtorCrash \
DISABLED_OnAudioFocusChangeAfterDtorCrash
#else
@@ -28,7 +29,7 @@ class MediaSessionDelegateAndroidBrowserTest : public ContentBrowserTest {};
IN_PROC_BROWSER_TEST_F(MediaSessionDelegateAndroidBrowserTest,
MAYBE_OnAudioFocusChangeAfterDtorCrash) {
- scoped_ptr<MockMediaSessionObserver> media_session_observer(
+ std::unique_ptr<MockMediaSessionObserver> media_session_observer(
new MockMediaSessionObserver);
MediaSession* media_session = MediaSession::Get(shell()->web_contents());