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

Unified Diff: third_party/WebKit/Source/core/loader/TextResourceDecoderBuilderTest.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/core/loader/TextResourceDecoderBuilderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/TextResourceDecoderBuilderTest.cpp b/third_party/WebKit/Source/core/loader/TextResourceDecoderBuilderTest.cpp
index eaf7950bc2994f73c81caa335869e9c49f77e8c2..611d46743673f9e3e18b7229f70eb87446c2ecc1 100644
--- a/third_party/WebKit/Source/core/loader/TextResourceDecoderBuilderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/TextResourceDecoderBuilderTest.cpp
@@ -6,12 +6,13 @@
#include "core/testing/DummyPageHolder.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include <memory>
namespace blink {
static const WTF::TextEncoding defaultEncodingForURL(const char* url)
{
- OwnPtr<DummyPageHolder> pageHolder = DummyPageHolder::create(IntSize(0, 0));
+ std::unique_ptr<DummyPageHolder> pageHolder = DummyPageHolder::create(IntSize(0, 0));
Document& document = pageHolder->document();
document.setURL(KURL(KURL(), url));
TextResourceDecoderBuilder decoderBuilder("text/html", nullAtom);

Powered by Google App Engine
This is Rietveld 408576698