Diff
Modified: trunk/Source/WebCore/ChangeLog (199734 => 199735)
--- trunk/Source/WebCore/ChangeLog 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/ChangeLog 2016-04-19 18:39:09 UTC (rev 199735)
@@ -1,3 +1,47 @@
+2016-04-19 Chris Dumez <cdu...@apple.com>
+
+ Mark more classes as WTF_MAKE_FAST_ALLOCATED
+ https://bugs.webkit.org/show_bug.cgi?id=156732
+
+ Reviewed by Darin Adler.
+
+ * css/CSSImageGeneratorValue.h:
+ * css/DocumentRuleSets.h:
+ * css/MediaQueryMatcher.h:
+ * css/RuleFeature.h:
+ * css/StyleResolver.h:
+ * dom/ActiveDOMCallbackMicrotask.h:
+ * dom/DocumentSharedObjectPool.h:
+ * dom/MutationObserver.cpp:
+ * dom/MutationObserverInterestGroup.h:
+ * dom/MutationObserverRegistration.h:
+ * dom/ScriptExecutionContext.cpp:
+ * dom/SlotAssignment.h:
+ * html/HTMLCollection.h:
+ * html/canvas/CanvasRenderingContext2D.cpp:
+ * html/parser/HTMLToken.h:
+ * html/parser/XSSAuditorDelegate.h:
+ * loader/FrameLoader.cpp:
+ * loader/SubframeLoader.h:
+ * page/AutoscrollController.h:
+ * page/csp/ContentSecurityPolicySource.h:
+ * platform/cf/RunLoopObserver.h:
+ * platform/graphics/FloatQuad.h:
+ * platform/graphics/FloatRoundedRect.h:
+ * platform/graphics/IntSize.h:
+ * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
+ * platform/graphics/cg/ImageDecoderCG.h:
+ * platform/graphics/cocoa/IOSurface.h:
+ * platform/graphics/displaylists/DisplayList.h:
+ * platform/graphics/mac/ComplexTextController.h:
+ * platform/graphics/mac/FontCustomPlatformData.h:
+ * platform/mac/PowerObserverMac.h:
+ * platform/network/DataURLDecoder.cpp:
+ * platform/text/PlatformLocale.h:
+ * rendering/TextAutosizer.h:
+ * style/StyleUpdate.h:
+ * xml/XMLHttpRequestUpload.h:
+
2016-04-18 Ada Chan <adac...@apple.com>
Context menu items related to fullscreen should be specific to standard fullscreen
Modified: trunk/Source/WebCore/css/CSSImageGeneratorValue.h (199734 => 199735)
--- trunk/Source/WebCore/css/CSSImageGeneratorValue.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/css/CSSImageGeneratorValue.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -72,6 +72,7 @@
private:
class CachedGeneratedImage {
+ WTF_MAKE_FAST_ALLOCATED;
public:
CachedGeneratedImage(CSSImageGeneratorValue&, FloatSize, PassRefPtr<GeneratedImage>);
GeneratedImage* image() { return m_image.get(); }
Modified: trunk/Source/WebCore/css/DocumentRuleSets.h (199734 => 199735)
--- trunk/Source/WebCore/css/DocumentRuleSets.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/css/DocumentRuleSets.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -52,6 +52,8 @@
RuleSet* ancestorClassRules(AtomicStringImpl* className) const;
struct AttributeRules {
+ WTF_MAKE_FAST_ALLOCATED;
+ public:
Vector<const CSSSelector*> attributeSelectors;
std::unique_ptr<RuleSet> ruleSet;
};
Modified: trunk/Source/WebCore/css/MediaQueryMatcher.h (199734 => 199735)
--- trunk/Source/WebCore/css/MediaQueryMatcher.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/css/MediaQueryMatcher.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -55,6 +55,7 @@
private:
class Listener {
+ WTF_MAKE_FAST_ALLOCATED;
public:
Listener(PassRefPtr<MediaQueryListListener>, PassRefPtr<MediaQueryList>);
~Listener();
Modified: trunk/Source/WebCore/css/RuleFeature.h (199734 => 199735)
--- trunk/Source/WebCore/css/RuleFeature.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/css/RuleFeature.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -61,6 +61,8 @@
HashMap<AtomicStringImpl*, std::unique_ptr<Vector<RuleFeature>>> ancestorClassRules;
struct AttributeRules {
+ WTF_MAKE_FAST_ALLOCATED;
+ public:
using SelectorKey = std::pair<AtomicStringImpl*, std::pair<AtomicStringImpl*, unsigned>>;
HashMap<SelectorKey, const CSSSelector*> selectors;
Vector<RuleFeature> features;
Modified: trunk/Source/WebCore/css/StyleResolver.h (199734 => 199735)
--- trunk/Source/WebCore/css/StyleResolver.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/css/StyleResolver.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -277,6 +277,7 @@
};
class CascadedProperties {
+ WTF_MAKE_FAST_ALLOCATED;
public:
CascadedProperties(TextDirection, WritingMode);
Modified: trunk/Source/WebCore/dom/ActiveDOMCallbackMicrotask.h (199734 => 199735)
--- trunk/Source/WebCore/dom/ActiveDOMCallbackMicrotask.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/dom/ActiveDOMCallbackMicrotask.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -32,10 +32,11 @@
namespace WebCore {
-class ActiveDOMCallbackMicrotask : public Microtask, public ActiveDOMCallback {
+class ActiveDOMCallbackMicrotask final : public Microtask, public ActiveDOMCallback {
+ WTF_MAKE_FAST_ALLOCATED;
public:
WEBCORE_EXPORT ActiveDOMCallbackMicrotask(MicrotaskQueue&, ScriptExecutionContext&, std::function<void()>&&);
- virtual ~ActiveDOMCallbackMicrotask();
+ WEBCORE_EXPORT virtual ~ActiveDOMCallbackMicrotask();
Result run() override;
Modified: trunk/Source/WebCore/dom/DocumentSharedObjectPool.h (199734 => 199735)
--- trunk/Source/WebCore/dom/DocumentSharedObjectPool.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/dom/DocumentSharedObjectPool.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -38,6 +38,7 @@
class ShareableElementData;
class DocumentSharedObjectPool {
+ WTF_MAKE_FAST_ALLOCATED;
public:
Ref<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&);
Modified: trunk/Source/WebCore/dom/MutationObserver.cpp (199734 => 199735)
--- trunk/Source/WebCore/dom/MutationObserver.cpp 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/dom/MutationObserver.cpp 2016-04-19 18:39:09 UTC (rev 199735)
@@ -157,7 +157,8 @@
static bool mutationObserverCompoundMicrotaskQueuedFlag;
-class MutationObserverMicrotask : public Microtask {
+class MutationObserverMicrotask final : public Microtask {
+ WTF_MAKE_FAST_ALLOCATED;
public:
MutationObserverMicrotask()
{
Modified: trunk/Source/WebCore/dom/MutationObserverInterestGroup.h (199734 => 199735)
--- trunk/Source/WebCore/dom/MutationObserverInterestGroup.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/dom/MutationObserverInterestGroup.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -40,6 +40,7 @@
namespace WebCore {
class MutationObserverInterestGroup {
+ WTF_MAKE_FAST_ALLOCATED;
public:
MutationObserverInterestGroup(HashMap<MutationObserver*, MutationRecordDeliveryOptions>& observers, MutationRecordDeliveryOptions oldValueFlag);
Modified: trunk/Source/WebCore/dom/MutationObserverRegistration.h (199734 => 199735)
--- trunk/Source/WebCore/dom/MutationObserverRegistration.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/dom/MutationObserverRegistration.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -41,6 +41,7 @@
class QualifiedName;
class MutationObserverRegistration {
+ WTF_MAKE_FAST_ALLOCATED;
public:
MutationObserverRegistration(PassRefPtr<MutationObserver>, Node*, MutationObserverOptions, const HashSet<AtomicString>& attributeFilter);
~MutationObserverRegistration();
Modified: trunk/Source/WebCore/dom/ScriptExecutionContext.cpp (199734 => 199735)
--- trunk/Source/WebCore/dom/ScriptExecutionContext.cpp 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/dom/ScriptExecutionContext.cpp 2016-04-19 18:39:09 UTC (rev 199735)
@@ -55,8 +55,8 @@
namespace WebCore {
-class ScriptExecutionContext::PendingException {
- WTF_MAKE_NONCOPYABLE(PendingException);
+struct ScriptExecutionContext::PendingException {
+ WTF_MAKE_NONCOPYABLE(PendingException); WTF_MAKE_FAST_ALLOCATED;
public:
PendingException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack)
: m_errorMessage(errorMessage)
Modified: trunk/Source/WebCore/dom/ScriptExecutionContext.h (199734 => 199735)
--- trunk/Source/WebCore/dom/ScriptExecutionContext.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/dom/ScriptExecutionContext.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -224,7 +224,7 @@
HashMap<int, RefPtr<DOMTimer>> m_timeouts;
bool m_inDispatchErrorEvent;
- class PendingException;
+ struct PendingException;
std::unique_ptr<Vector<std::unique_ptr<PendingException>>> m_pendingExceptions;
bool m_activeDOMObjectsAreSuspended;
Modified: trunk/Source/WebCore/dom/SlotAssignment.h (199734 => 199735)
--- trunk/Source/WebCore/dom/SlotAssignment.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/dom/SlotAssignment.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -42,7 +42,7 @@
class Node;
class SlotAssignment {
- WTF_MAKE_NONCOPYABLE(SlotAssignment);
+ WTF_MAKE_NONCOPYABLE(SlotAssignment); WTF_MAKE_FAST_ALLOCATED;
public:
SlotAssignment();
virtual ~SlotAssignment();
@@ -64,6 +64,8 @@
private:
struct SlotInfo {
+ WTF_MAKE_FAST_ALLOCATED;
+ public:
SlotInfo() { }
SlotInfo(HTMLSlotElement& slotElement)
: element(&slotElement)
Modified: trunk/Source/WebCore/html/HTMLCollection.h (199734 => 199735)
--- trunk/Source/WebCore/html/HTMLCollection.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/html/HTMLCollection.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -34,6 +34,7 @@
class Element;
class CollectionNamedElementCache {
+ WTF_MAKE_FAST_ALLOCATED;
public:
const Vector<Element*>* findElementsWithId(const AtomicString& id) const;
const Vector<Element*>* findElementsWithName(const AtomicString& name) const;
Modified: trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp (199734 => 199735)
--- trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp 2016-04-19 18:39:09 UTC (rev 199735)
@@ -89,6 +89,8 @@
static const char* const defaultFont = "10px sans-serif";
struct DisplayListDrawingContext {
+ WTF_MAKE_FAST_ALLOCATED;
+public:
GraphicsContext context;
DisplayList::Recorder recorder;
DisplayList::DisplayList displayList;
Modified: trunk/Source/WebCore/html/parser/HTMLToken.h (199734 => 199735)
--- trunk/Source/WebCore/html/parser/HTMLToken.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/html/parser/HTMLToken.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -32,6 +32,8 @@
namespace WebCore {
struct DoctypeData {
+ WTF_MAKE_FAST_ALLOCATED;
+public:
bool hasPublicIdentifier { false };
bool hasSystemIdentifier { false };
Vector<UChar> publicIdentifier;
Modified: trunk/Source/WebCore/html/parser/XSSAuditorDelegate.h (199734 => 199735)
--- trunk/Source/WebCore/html/parser/XSSAuditorDelegate.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/html/parser/XSSAuditorDelegate.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -37,6 +37,7 @@
class FormData;
class XSSInfo {
+ WTF_MAKE_FAST_ALLOCATED;
public:
XSSInfo(const String& originalURL, bool didBlockEntirePage, bool didSendXSSProtectionHeader)
: m_originalURL(originalURL.isolatedCopy())
Modified: trunk/Source/WebCore/loader/FrameLoader.cpp (199734 => 199735)
--- trunk/Source/WebCore/loader/FrameLoader.cpp 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/loader/FrameLoader.cpp 2016-04-19 18:39:09 UTC (rev 199735)
@@ -202,6 +202,7 @@
};
class FrameLoader::FrameProgressTracker {
+ WTF_MAKE_FAST_ALLOCATED;
public:
explicit FrameProgressTracker(Frame& frame)
: m_frame(frame)
Modified: trunk/Source/WebCore/loader/SubframeLoader.h (199734 => 199735)
--- trunk/Source/WebCore/loader/SubframeLoader.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/loader/SubframeLoader.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -53,7 +53,7 @@
// This is a slight misnomer. It handles the higher level logic of loading both subframes and plugins.
class SubframeLoader {
- WTF_MAKE_NONCOPYABLE(SubframeLoader);
+ WTF_MAKE_NONCOPYABLE(SubframeLoader); WTF_MAKE_FAST_ALLOCATED;
public:
explicit SubframeLoader(Frame&);
Modified: trunk/Source/WebCore/page/AutoscrollController.h (199734 => 199735)
--- trunk/Source/WebCore/page/AutoscrollController.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/page/AutoscrollController.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -49,8 +49,9 @@
#endif
};
-// AutscrollController handels autoscroll and pan scroll for EventHandler.
+// AutscrollController handles autoscroll and pan scroll for EventHandler.
class AutoscrollController {
+ WTF_MAKE_FAST_ALLOCATED;
public:
AutoscrollController();
RenderBox* autoscrollRenderer() const;
Modified: trunk/Source/WebCore/page/csp/ContentSecurityPolicySource.h (199734 => 199735)
--- trunk/Source/WebCore/page/csp/ContentSecurityPolicySource.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/page/csp/ContentSecurityPolicySource.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -35,6 +35,7 @@
class URL;
class ContentSecurityPolicySource {
+ WTF_MAKE_FAST_ALLOCATED;
public:
ContentSecurityPolicySource(const ContentSecurityPolicy&, const String& scheme, const String& host, int port, const String& path, bool hostHasWildcard, bool portHasWildcard);
Modified: trunk/Source/WebCore/platform/cf/RunLoopObserver.h (199734 => 199735)
--- trunk/Source/WebCore/platform/cf/RunLoopObserver.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/cf/RunLoopObserver.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -34,7 +34,7 @@
namespace WebCore {
class RunLoopObserver {
- WTF_MAKE_NONCOPYABLE(RunLoopObserver);
+ WTF_MAKE_NONCOPYABLE(RunLoopObserver); WTF_MAKE_FAST_ALLOCATED;
public:
typedef std::function<void ()> RunLoopObserverCallback;
Modified: trunk/Source/WebCore/platform/graphics/FloatQuad.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/FloatQuad.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/FloatQuad.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -39,6 +39,7 @@
// mapping a rectangle through transforms. When initialized from a rect, the
// points are in clockwise order from top left.
class FloatQuad {
+ WTF_MAKE_FAST_ALLOCATED;
public:
FloatQuad()
{
Modified: trunk/Source/WebCore/platform/graphics/FloatRoundedRect.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/FloatRoundedRect.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/FloatRoundedRect.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -37,6 +37,7 @@
namespace WebCore {
class FloatRoundedRect {
+ WTF_MAKE_FAST_ALLOCATED;
public:
class Radii {
public:
Modified: trunk/Source/WebCore/platform/graphics/IntSize.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/IntSize.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/IntSize.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -61,6 +61,7 @@
class TextStream;
class IntSize {
+ WTF_MAKE_FAST_ALLOCATED;
public:
IntSize() : m_width(0), m_height(0) { }
IntSize(int width, int height) : m_width(width), m_height(height) { }
Modified: trunk/Source/WebCore/platform/graphics/cg/GraphicsContextPlatformPrivateCG.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/cg/GraphicsContextPlatformPrivateCG.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/cg/GraphicsContextPlatformPrivateCG.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -39,6 +39,7 @@
typedef unsigned GraphicsContextCGFlags;
class GraphicsContextPlatformPrivate {
+ WTF_MAKE_FAST_ALLOCATED;
public:
GraphicsContextPlatformPrivate(CGContextRef cgContext, GraphicsContextCGFlags flags = 0)
: m_cgContext(cgContext)
Modified: trunk/Source/WebCore/platform/graphics/cg/ImageDecoderCG.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/cg/ImageDecoderCG.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/cg/ImageDecoderCG.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -37,6 +37,7 @@
namespace WebCore {
class ImageDecoder {
+ WTF_MAKE_FAST_ALLOCATED;
public:
ImageDecoder();
Modified: trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -37,6 +37,7 @@
class MachSendRight;
class IOSurface final {
+ WTF_MAKE_FAST_ALLOCATED;
public:
enum class Format {
RGBA,
Modified: trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -49,7 +49,7 @@
typedef unsigned AsTextFlags;
class DisplayList {
- WTF_MAKE_NONCOPYABLE(DisplayList);
+ WTF_MAKE_NONCOPYABLE(DisplayList); WTF_MAKE_FAST_ALLOCATED;
friend class Recorder;
friend class Replayer;
public:
Modified: trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -49,6 +49,7 @@
// ComplexTextController is responsible for rendering and measuring glyphs for
// complex scripts on OS X.
class ComplexTextController {
+ WTF_MAKE_FAST_ALLOCATED;
public:
ComplexTextController(const FontCascade&, const TextRun&, bool mayUseNaturalWritingDirection = false, HashSet<const Font*>* fallbackFonts = 0, bool forTextEmphasis = false);
Modified: trunk/Source/WebCore/platform/graphics/mac/FontCustomPlatformData.h (199734 => 199735)
--- trunk/Source/WebCore/platform/graphics/mac/FontCustomPlatformData.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/graphics/mac/FontCustomPlatformData.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -38,7 +38,7 @@
class SharedBuffer;
struct FontCustomPlatformData {
- WTF_MAKE_NONCOPYABLE(FontCustomPlatformData);
+ WTF_MAKE_NONCOPYABLE(FontCustomPlatformData); WTF_MAKE_FAST_ALLOCATED;
public:
explicit FontCustomPlatformData(CTFontDescriptorRef fontDescriptor)
: m_fontDescriptor(fontDescriptor)
Modified: trunk/Source/WebCore/platform/mac/PowerObserverMac.h (199734 => 199735)
--- trunk/Source/WebCore/platform/mac/PowerObserverMac.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/mac/PowerObserverMac.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -34,7 +34,7 @@
namespace WebCore {
class PowerObserver {
- WTF_MAKE_NONCOPYABLE(PowerObserver);
+ WTF_MAKE_NONCOPYABLE(PowerObserver); WTF_MAKE_FAST_ALLOCATED;
public:
PowerObserver(const std::function<void()>& powerOnHander);
Modified: trunk/Source/WebCore/platform/network/DataURLDecoder.cpp (199734 => 199735)
--- trunk/Source/WebCore/platform/network/DataURLDecoder.cpp 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/network/DataURLDecoder.cpp 2016-04-19 18:39:09 UTC (rev 199735)
@@ -45,6 +45,8 @@
}
struct DecodeTask {
+ WTF_MAKE_FAST_ALLOCATED;
+public:
const String urlString;
const StringView encodedData;
const bool isBase64;
Modified: trunk/Source/WebCore/platform/text/PlatformLocale.h (199734 => 199735)
--- trunk/Source/WebCore/platform/text/PlatformLocale.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/platform/text/PlatformLocale.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -37,7 +37,7 @@
#endif
class Locale {
- WTF_MAKE_NONCOPYABLE(Locale);
+ WTF_MAKE_NONCOPYABLE(Locale); WTF_MAKE_FAST_ALLOCATED;
public:
static std::unique_ptr<Locale> create(const AtomicString& localeIdentifier);
Modified: trunk/Source/WebCore/rendering/TextAutosizer.h (199734 => 199735)
--- trunk/Source/WebCore/rendering/TextAutosizer.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/rendering/TextAutosizer.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -42,7 +42,7 @@
struct TextAutosizingClusterInfo;
class TextAutosizer final {
- WTF_MAKE_NONCOPYABLE(TextAutosizer);
+ WTF_MAKE_NONCOPYABLE(TextAutosizer); WTF_MAKE_FAST_ALLOCATED;
public:
explicit TextAutosizer(Document*);
Modified: trunk/Source/WebCore/style/StyleUpdate.h (199734 => 199735)
--- trunk/Source/WebCore/style/StyleUpdate.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/style/StyleUpdate.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -52,6 +52,7 @@
};
class Update {
+ WTF_MAKE_FAST_ALLOCATED;
public:
Update(Document&);
Modified: trunk/Source/WebCore/xml/XMLHttpRequestUpload.h (199734 => 199735)
--- trunk/Source/WebCore/xml/XMLHttpRequestUpload.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebCore/xml/XMLHttpRequestUpload.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -38,6 +38,7 @@
class XMLHttpRequest;
class XMLHttpRequestUpload final : public XMLHttpRequestEventTarget {
+ WTF_MAKE_FAST_ALLOCATED;
public:
explicit XMLHttpRequestUpload(XMLHttpRequest*);
Modified: trunk/Source/WebKit2/ChangeLog (199734 => 199735)
--- trunk/Source/WebKit2/ChangeLog 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebKit2/ChangeLog 2016-04-19 18:39:09 UTC (rev 199735)
@@ -1,3 +1,15 @@
+2016-04-19 Chris Dumez <cdu...@apple.com>
+
+ Mark more classes as WTF_MAKE_FAST_ALLOCATED
+ https://bugs.webkit.org/show_bug.cgi?id=156732
+
+ Reviewed by Darin Adler.
+
+ * NetworkProcess/Downloads/Download.h:
+ * NetworkProcess/Downloads/PendingDownload.h:
+ * NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h:
+ * Shared/API/Cocoa/RemoteObjectInvocation.h:
+
2016-04-19 Alex Christensen <achristen...@webkit.org>
Build fix.
Modified: trunk/Source/WebKit2/NetworkProcess/Downloads/Download.h (199734 => 199735)
--- trunk/Source/WebKit2/NetworkProcess/Downloads/Download.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebKit2/NetworkProcess/Downloads/Download.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -73,7 +73,7 @@
class WebPage;
class Download : public IPC::MessageSender {
- WTF_MAKE_NONCOPYABLE(Download);
+ WTF_MAKE_NONCOPYABLE(Download); WTF_MAKE_FAST_ALLOCATED;
public:
#if USE(NETWORK_SESSION) && PLATFORM(COCOA)
Download(DownloadManager&, DownloadID, NSURLSessionDownloadTask*, const String& suggestedFilename = { });
Modified: trunk/Source/WebKit2/NetworkProcess/Downloads/PendingDownload.h (199734 => 199735)
--- trunk/Source/WebKit2/NetworkProcess/Downloads/PendingDownload.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebKit2/NetworkProcess/Downloads/PendingDownload.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -42,6 +42,7 @@
class NetworkLoadParameters;
class PendingDownload : public NetworkLoadClient, public IPC::MessageSender {
+ WTF_MAKE_FAST_ALLOCATED;
public:
PendingDownload(const NetworkLoadParameters&, DownloadID);
Modified: trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h (199734 => 199735)
--- trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -44,6 +44,7 @@
struct SubresourceInfo;
class SpeculativeLoadManager {
+ WTF_MAKE_FAST_ALLOCATED;
public:
explicit SpeculativeLoadManager(Storage&);
~SpeculativeLoadManager();
Modified: trunk/Source/WebKit2/Shared/API/Cocoa/RemoteObjectInvocation.h (199734 => 199735)
--- trunk/Source/WebKit2/Shared/API/Cocoa/RemoteObjectInvocation.h 2016-04-19 18:34:13 UTC (rev 199734)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/RemoteObjectInvocation.h 2016-04-19 18:39:09 UTC (rev 199735)
@@ -39,6 +39,8 @@
class RemoteObjectInvocation {
public:
struct ReplyInfo {
+ WTF_MAKE_FAST_ALLOCATED;
+ public:
ReplyInfo(uint64_t replyID, String&& blockSignature)
: replyID(replyID)
, blockSignature(WTFMove(blockSignature))