| Index: third_party/WebKit/Source/core/dom/StyleElementTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleElementTest.cpp b/third_party/WebKit/Source/core/dom/StyleElementTest.cpp
|
| index 5f1f6c614a91b645c959723aaf524c15a50c61de..c37c7b8fde5ca5b2054fb4f6ef2b03a8f6abeb7d 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleElementTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleElementTest.cpp
|
| @@ -9,12 +9,13 @@
|
| #include "core/html/HTMLStyleElement.h"
|
| #include "core/testing/DummyPageHolder.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| TEST(StyleElementTest, CreateSheetUsesCache)
|
| {
|
| - OwnPtr<DummyPageHolder> dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
|
| + std::unique_ptr<DummyPageHolder> dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
|
| Document& document = dummyPageHolder->document();
|
|
|
| document.documentElement()->setInnerHTML("<style id=style>a { top: 0; }</style>", ASSERT_NO_EXCEPTION);
|
|
|