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

Unified Diff: third_party/WebKit/Source/modules/webaudio/ConvolverNodeTest.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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: third_party/WebKit/Source/modules/webaudio/ConvolverNodeTest.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/ConvolverNodeTest.cpp b/third_party/WebKit/Source/modules/webaudio/ConvolverNodeTest.cpp
index 04d5122d54a499c96a7a236a65c80c569b82a938..ff2545cd005341ef9c04947c32b85d080243bcab 100644
--- a/third_party/WebKit/Source/modules/webaudio/ConvolverNodeTest.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/ConvolverNodeTest.cpp
@@ -2,16 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "modules/webaudio/ConvolverNode.h"
#include "core/testing/DummyPageHolder.h"
+#include "modules/webaudio/ConvolverNode.h"
#include "modules/webaudio/OfflineAudioContext.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include <memory>
namespace blink {
TEST(ConvolverNodeTest, ReverbLifetime)
{
- OwnPtr<DummyPageHolder> page = DummyPageHolder::create();
+ std::unique_ptr<DummyPageHolder> page = DummyPageHolder::create();
OfflineAudioContext* context = OfflineAudioContext::create(&page->document(), 2, 1, 48000, ASSERT_NO_EXCEPTION);
ConvolverNode* node = context->createConvolver(ASSERT_NO_EXCEPTION);
ConvolverHandler& handler = node->convolverHandler();

Powered by Google App Engine
This is Rietveld 408576698