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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationTest.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/animation/AnimationTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationTest.cpp b/third_party/WebKit/Source/core/animation/AnimationTest.cpp
index 15b7bae8efca453a92aa4d1a17d17d315d0944e5..0b8a59ee703c34896bd6abcf1cf311c28d32c6a1 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTest.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationTest.cpp
@@ -40,6 +40,7 @@
#include "core/testing/DummyPageHolder.h"
#include "platform/weborigin/KURL.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include <memory>
namespace blink {
@@ -88,7 +89,7 @@ protected:
Persistent<AnimationTimeline> timeline;
Persistent<Animation> animation;
TrackExceptionState exceptionState;
- OwnPtr<DummyPageHolder> pageHolder;
+ std::unique_ptr<DummyPageHolder> pageHolder;
};
TEST_F(AnimationAnimationTest, InitialState)

Powered by Google App Engine
This is Rietveld 408576698