| Index: Source/web/WebAXObject.cpp
|
| diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
|
| index 3d1bcda047bb94e54e0f2ac7fe11a552326de915..c199a67346b27a65244c98a7fad760455a7a113a 100644
|
| --- a/Source/web/WebAXObject.cpp
|
| +++ b/Source/web/WebAXObject.cpp
|
| @@ -72,15 +72,10 @@ static bool isLayoutClean(Document* document)
|
| #endif
|
|
|
| WebScopedAXContext::WebScopedAXContext(WebDocument& rootDocument)
|
| - : m_private(adoptRef(new ScopedAXObjectCache(*rootDocument.unwrap<Document>())))
|
| + : m_private(adoptPtr(new ScopedAXObjectCache(*rootDocument.unwrap<Document>())))
|
| {
|
| }
|
|
|
| -WebScopedAXContext::~WebScopedAXContext()
|
| -{
|
| - m_private.reset();
|
| -}
|
| -
|
| WebAXObject WebScopedAXContext::root() const
|
| {
|
| return WebAXObject(static_cast<AXObjectCacheImpl*>(m_private->get())->root());
|
|
|