| Index: third_party/WebKit/Source/core/css/DragUpdateTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/DragUpdateTest.cpp b/third_party/WebKit/Source/core/css/DragUpdateTest.cpp
|
| index 14bced50df4b99e1f2cd1d69ec49a1cb452697f3..0e53520481bc9b8385ac5c87d34a6aa8308f6e98 100644
|
| --- a/third_party/WebKit/Source/core/css/DragUpdateTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/DragUpdateTest.cpp
|
| @@ -10,7 +10,6 @@
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/testing/DummyPageHolder.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -19,7 +18,7 @@ TEST(DragUpdateTest, AffectedByDragUpdate)
|
| // Check that when dragging the div in the document below, you only get a
|
| // single element style recalc.
|
|
|
| - std::unique_ptr<DummyPageHolder> dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
|
| + OwnPtr<DummyPageHolder> dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
|
| HTMLDocument& document = toHTMLDocument(dummyPageHolder->document());
|
| document.documentElement()->setInnerHTML("<style>div {width:100px;height:100px} div:-webkit-drag { background-color: green }</style>"
|
| "<div>"
|
| @@ -45,7 +44,7 @@ TEST(DragUpdateTest, ChildAffectedByDragUpdate)
|
| // Check that when dragging the div in the document below, you get a
|
| // single element style recalc.
|
|
|
| - std::unique_ptr<DummyPageHolder> dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
|
| + OwnPtr<DummyPageHolder> dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
|
| HTMLDocument& document = toHTMLDocument(dummyPageHolder->document());
|
| document.documentElement()->setInnerHTML("<style>div {width:100px;height:100px} div:-webkit-drag .drag { background-color: green }</style>"
|
| "<div>"
|
| @@ -71,7 +70,7 @@ TEST(DragUpdateTest, SiblingAffectedByDragUpdate)
|
| // Check that when dragging the div in the document below, you get a
|
| // single element style recalc.
|
|
|
| - std::unique_ptr<DummyPageHolder> dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
|
| + OwnPtr<DummyPageHolder> dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
|
| HTMLDocument& document = toHTMLDocument(dummyPageHolder->document());
|
| document.documentElement()->setInnerHTML("<style>div {width:100px;height:100px} div:-webkit-drag + .drag { background-color: green }</style>"
|
| "<div>"
|
|
|