Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: public/web/WebAXObject.h

Issue 1072273006: Oilpan: Prepare moving AXObject to heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/web/WebAXObject.h
diff --git a/public/web/WebAXObject.h b/public/web/WebAXObject.h
index 336ed93a617bce65b18e7cbe558a1e2dffc0201d..22a0bb05ebcae3b6b3ee77c9ba0afb40fd8ad5bf 100644
--- a/public/web/WebAXObject.h
+++ b/public/web/WebAXObject.h
@@ -32,6 +32,7 @@
#define WebAXObject_h
#include "../platform/WebCommon.h"
+#include "../platform/WebPrivateOwnPtr.h"
#include "../platform/WebPrivatePtr.h"
#include "../platform/WebVector.h"
#include "WebAXEnums.h"
@@ -58,12 +59,11 @@ struct WebRect;
class WebScopedAXContext {
public:
BLINK_EXPORT WebScopedAXContext(WebDocument& rootDocument);
- BLINK_EXPORT ~WebScopedAXContext();
BLINK_EXPORT WebAXObject root() const;
private:
- WebPrivatePtr<ScopedAXObjectCache> m_private;
+ WebPrivateOwnPtr<ScopedAXObjectCache> m_private;
};
// A container for passing around a reference to AXObject.
@@ -279,9 +279,9 @@ public:
BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const;
#if BLINK_IMPLEMENTATION
- WebAXObject(const WTF::PassRefPtr<AXObject>&);
- WebAXObject& operator=(const WTF::PassRefPtr<AXObject>&);
- operator WTF::PassRefPtr<AXObject>() const;
+ WebAXObject(const PassRefPtrWillBeRawPtr<AXObject>&);
+ WebAXObject& operator=(const PassRefPtrWillBeRawPtr<AXObject>&);
+ operator PassRefPtrWillBeRawPtr<AXObject>() const;
#endif
private:
« Source/modules/accessibility/AXObjectCacheImpl.h ('K') | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698