Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 0c62d74ae835d3206f7712a5c853869eb9d488dd..902c01730fa6bbc97f201e649a52853c1e247412 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -2234,7 +2234,7 @@ AXObjectCache* Document::axObjectCache() const |
ASSERT(&cacheOwner == this || !m_axObjectCache); |
if (!cacheOwner.m_axObjectCache) |
- cacheOwner.m_axObjectCache = adoptPtr(AXObjectCache::create(cacheOwner)); |
+ cacheOwner.m_axObjectCache = AXObjectCache::create(cacheOwner); |
return cacheOwner.m_axObjectCache.get(); |
} |