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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.h

Issue 1996873002: AXObject is not copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more accessibility classes Created 4 years, 7 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: third_party/WebKit/Source/modules/accessibility/AXObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
index 0192e0547568f595b40fe96fe146cd1e3faeee78..631cc8fade1ebddf78738a41549f9318c17800f8 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -216,6 +216,8 @@ enum AccessibilityState {
};
class AccessibilityText final : public GarbageCollectedFinalized<AccessibilityText> {
+ WTF_MAKE_NONCOPYABLE(AccessibilityText);
+
public:
DEFINE_INLINE_TRACE()
{
@@ -391,6 +393,8 @@ public:
};
class NameSourceRelatedObject : public GarbageCollectedFinalized<NameSourceRelatedObject> {
+ WTF_MAKE_NONCOPYABLE(NameSourceRelatedObject);
+
public:
WeakMember<AXObject> object;
String text;
@@ -469,6 +473,7 @@ public:
};
class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
+ WTF_MAKE_NONCOPYABLE(AXObject);
public:
typedef HeapVector<Member<AXObject>> AXObjectVector;

Powered by Google App Engine
This is Rietveld 408576698