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

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

Powered by Google App Engine
This is Rietveld 408576698