| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 6da31da76d47fc37693792d15e6383f21ab1fba7..3df07658c741c0cd2f4d8d933c8cd50d755be2d6 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -139,6 +139,7 @@
|
| #include "wtf/text/CString.h"
|
| #include "wtf/text/StringBuilder.h"
|
| #include "wtf/text/TextPosition.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -1050,14 +1051,14 @@ ClientRect* Element::getBoundingClientRect()
|
| const AtomicString& Element::computedRole()
|
| {
|
| document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this);
|
| - OwnPtr<ScopedAXObjectCache> cache = ScopedAXObjectCache::create(document());
|
| + std::unique_ptr<ScopedAXObjectCache> cache = ScopedAXObjectCache::create(document());
|
| return cache->get()->computedRoleForNode(this);
|
| }
|
|
|
| String Element::computedName()
|
| {
|
| document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this);
|
| - OwnPtr<ScopedAXObjectCache> cache = ScopedAXObjectCache::create(document());
|
| + std::unique_ptr<ScopedAXObjectCache> cache = ScopedAXObjectCache::create(document());
|
| return cache->get()->computedNameForNode(this);
|
| }
|
|
|
|
|