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