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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoadTimingTest.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/DocumentLoadTimingTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoadTimingTest.cpp b/third_party/WebKit/Source/core/loader/DocumentLoadTimingTest.cpp
index d775ffb43ad597f310166a038ebe8041fa073199..b8db10dec29ebd0d805438358e7fabefdf652d7d 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoadTimingTest.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoadTimingTest.cpp
@@ -7,6 +7,7 @@
#include "core/loader/DocumentLoader.h"
#include "core/testing/DummyPageHolder.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include <memory>
namespace blink {
@@ -15,7 +16,7 @@ class DocumentLoadTimingTest : public testing::Test {
TEST_F(DocumentLoadTimingTest, ensureValidNavigationStartAfterEmbedder)
{
- OwnPtr<DummyPageHolder> dummyPage = DummyPageHolder::create();
+ std::unique_ptr<DummyPageHolder> dummyPage = DummyPageHolder::create();
DocumentLoadTiming timing(*(dummyPage->document().loader()));
double delta = -1000;
@@ -30,7 +31,7 @@ TEST_F(DocumentLoadTimingTest, ensureValidNavigationStartAfterEmbedder)
TEST_F(DocumentLoadTimingTest, correctTimingDeltas)
{
- OwnPtr<DummyPageHolder> dummyPage = DummyPageHolder::create();
+ std::unique_ptr<DummyPageHolder> dummyPage = DummyPageHolder::create();
DocumentLoadTiming timing(*(dummyPage->document().loader()));
double navigationStartDelta = -456;

Powered by Google App Engine
This is Rietveld 408576698