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

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

Issue 1315743003: [part 1] Make classes and structures in modules/ fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/modules/accessibility/testing/InternalsAccessibility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXObject.h
diff --git a/Source/modules/accessibility/AXObject.h b/Source/modules/accessibility/AXObject.h
index d5e3fb13dd5cb5c35315f58728d8fa8bccc8af35..870569e145d0839a8beadd0c113c2aa8f2a44c5a 100644
--- a/Source/modules/accessibility/AXObject.h
+++ b/Source/modules/accessibility/AXObject.h
@@ -216,6 +216,7 @@ enum AccessibilityState {
};
class AccessibilityText final : public NoBaseWillBeGarbageCollectedFinalized<AccessibilityText> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(AccessibilityText);
public:
static PassOwnPtrWillBeRawPtr<AccessibilityText> create(const String& text, const AccessibilityTextSource& source)
{
@@ -422,6 +423,7 @@ public:
typedef WillBeHeapVector<RefPtrWillBeMember<AXObject>> AccessibilityChildrenVector;
struct AXRange {
+ ALLOW_ONLY_INLINE_ALLOCATION();
// The deepest descendant in which the range starts.
// (nullptr means the current object.)
RefPtrWillBePersistent<AXObject> anchorObject;
« no previous file with comments | « no previous file | Source/modules/accessibility/testing/InternalsAccessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698