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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElementTest.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/core/html/HTMLInputElementTest.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
index bb5c6671da72427e954a1a2ba70c8bc294bc2805..a5bc137595c1e3f78e07025518cee7cf044c07f0 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
@@ -10,7 +10,6 @@
#include "core/html/HTMLHtmlElement.h"
#include "core/testing/DummyPageHolder.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include <memory>
namespace blink {
@@ -37,7 +36,7 @@ TEST(HTMLInputElementTest, NoAssertWhenMovedInNewDocument)
toHTMLBodyElement(html->firstChild())->setInnerHTML("<input type='range' />", ASSERT_NO_EXCEPTION);
documentWithoutFrame->appendChild(html);
- std::unique_ptr<DummyPageHolder> pageHolder = DummyPageHolder::create();
+ OwnPtr<DummyPageHolder> pageHolder = DummyPageHolder::create();
auto& document = pageHolder->document();
EXPECT_NE(nullptr, document.frameHost());

Powered by Google App Engine
This is Rietveld 408576698