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

Unified Diff: third_party/WebKit/Source/platform/testing/HistogramTester.cpp

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/platform/testing/HistogramTester.cpp
diff --git a/third_party/WebKit/Source/platform/testing/HistogramTester.cpp b/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
index 043ca95221a76defaffd2f9a6ebca685ab7d872b..0e0fbb63d63b925f765d62c786807b732295ec83 100644
--- a/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
+++ b/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
@@ -5,11 +5,11 @@
#include "platform/testing/HistogramTester.h"
#include "base/test/histogram_tester.h"
-#include "wtf/PtrUtil.h"
+#include "wtf/PassOwnPtr.h"
namespace blink {
-HistogramTester::HistogramTester() : m_histogramTester(wrapUnique(new base::HistogramTester)) { }
+HistogramTester::HistogramTester() : m_histogramTester(adoptPtr(new base::HistogramTester)) { }
HistogramTester::~HistogramTester() { }

Powered by Google App Engine
This is Rietveld 408576698