Extend the coverage of the Custom Allocation Framework in WebCore
authorzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Sep 2012 09:12:48 +0000 (09:12 +0000)
committerzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Sep 2012 09:12:48 +0000 (09:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=96512

Reviewed by Eric Seidel.

Add WTF_MAKE_FAST_ALLOCATED macro to the following class/struct declarations because these
or their child classes are instantiated by operator new.

Covered by existing tests.

* Modules/websockets/WebSocketDeflateFramer.cpp:
(WebSocketExtensionDeflateFrame):
* Modules/websockets/WebSocketDeflateFramer.h:
(DeflateResultHolder):
(InflateResultHolder):
* Modules/websockets/WebSocketDeflater.h:
(WebSocketDeflater):
(WebSocketInflater):
* Modules/websockets/WebSocketHandshake.h:
(WebSocketHandshake):
* bindings/js/ScriptDebugServer.h:
(Task):
* css/CSSCalculationValue.cpp:
(CSSCalcPrimitiveValue):
* css/CSSParserMode.h:
(CSSParserContext):
* css/CSSValuePool.h:
(CSSValuePool):
* css/StyleBuilder.h:
(StyleBuilder):
* css/StylePropertyShorthand.h:
(StylePropertyShorthand):
* css/StyleResolver.cpp:
(RuleSet):
* css/StyleRule.h:
(StyleRuleBase):
(StyleRule):
* css/StyleRuleImport.h:
(StyleRuleImport):
* css/WebKitCSSKeyframeRule.h:
(StyleKeyframe):
* dom/CheckedRadioButtons.cpp:
(RadioButtonGroup):
* dom/ContextFeatures.h:
(ContextFeaturesClient):
* dom/DOMImplementation.h:
(DOMImplementation):
(XMLMIMETypeRegExp):
* dom/Document.cpp:
(ImmutableAttributeDataCacheKey):
* dom/ElementShadow.h:
(ElementShadow):
* dom/GenericEventQueue.h:
(GenericEventQueue):
* dom/IdTargetObserverRegistry.h:
(IdTargetObserverRegistry):
* dom/NamedNodeMap.h:
(NamedNodeMap):
* dom/ScopedEventQueue.h:
(ScopedEventQueue):
* dom/StyledElement.cpp:
(PresentationAttributeCacheEntry):
(PresentationAttributeCacheCleaner):
* editing/EditingStyle.cpp:
(HTMLElementEquivalent):
* editing/SpellChecker.h:
(SpellChecker):
* fileapi/ThreadableBlobRegistry.cpp:
(BlobRegistryContext):
* html/FormAssociatedElement.cpp:
(FormAttributeTargetObserver):
* html/FormController.h:
(FormController):
* html/HTMLInputElement.cpp:
(ListAttributeTargetObserver):
* html/PublicURLManager.h:
(PublicURLManager):
* html/StepRange.h:
(StepDescription):
* html/ValidationMessage.h:
(ValidationMessage):
* html/canvas/WebGLExtension.h:
(WebGLExtension):
* html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebGLRenderingContextLostCallback):
(WebGLRenderingContextErrorMessageCallback):
* html/parser/HTMLElementStack.h:
(ElementRecord):
* html/parser/HTMLMetaCharsetParser.h:
(HTMLMetaCharsetParser):
* inspector/DOMEditor.h:
(DOMEditor):
* inspector/InjectedScriptHost.h:
(InspectableObject):
* inspector/InjectedScriptManager.h:
(InjectedScriptManager):
* inspector/InspectorCSSAgent.cpp:
(SelectorProfile):
* inspector/InspectorCounters.h:
(ThreadLocalInspectorCounters):
* inspector/InspectorDOMAgent.cpp:
(RevalidateStyleAttributeTask):
* inspector/InspectorFrontendClientLocal.cpp:
(InspectorBackendDispatchTask):
* inspector/InspectorHistory.h:
(InspectorHistory):
(Action):
* inspector/InspectorOverlay.h:
(HighlightConfig):
(InspectorOverlay):
* inspector/InspectorState.h:
(InspectorState):
* inspector/InspectorStyleSheet.cpp:
(ParsedStyleSheet):
* inspector/InspectorWorkerAgent.cpp:
(InspectorWorkerAgent::WorkerFrontendChannel):
* inspector/NetworkResourcesData.h:
(NetworkResourcesData):
(ResourceData):
* inspector/WorkerInspectorController.cpp:
* loader/EmptyClients.h:
(EmptyChromeClient):
* loader/ResourceLoadScheduler.h:
(ResourceLoadScheduler):
(HostInformation):
* loader/icon/IconDatabase.cpp:
(DefaultIconDatabaseClient):
(ClientWorkItem):
* page/ContentSecurityPolicy.cpp:
(CSPDirectiveList):
* page/ContentSecurityPolicy.h:
(ContentSecurityPolicy):
* page/FrameActionScheduler.h:
(FrameActionScheduler):
* page/MemoryInfo.cpp:
(HeapSizeCache):
* platform/CalculationValue.h:
(CalcExpressionNode):
* platform/Cursor.h:
(Cursor):
* platform/Decimal.h:
(Decimal):
* platform/Length.cpp:
(CalculationValueHandleMap):
* platform/MemoryPressureHandler.h:
(MemoryPressureHandler):
* platform/PlatformKeyboardEvent.h:
(PlatformKeyboardEvent):
* platform/ScrollAnimator.h:
(ScrollAnimator):
* platform/graphics/GlyphPageTreeNode.h:
(GlyphPageTreeNode):
* platform/graphics/GraphicsContext.h:
(GraphicsContextStateSaver):
* platform/graphics/GraphicsLayer.h:
(AnimationValue):
* platform/graphics/IntRect.h:
(IntRect):
* platform/graphics/ShadowBlur.cpp:
(ScratchBuffer):
* platform/graphics/TextRun.h:
(TextRun):
* platform/graphics/TiledBackingStoreBackend.h:
(TiledBackingStoreBackend):
* platform/graphics/WidthIterator.h:
(WidthIterator):
* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(StreamingClient):
* platform/graphics/opengl/Extensions3DOpenGL.h:
(Extensions3DOpenGL):
* platform/graphics/texmap/TextureMapper.h:
(TextureMapper):
* platform/graphics/texmap/TextureMapperGL.cpp:
(TextureMapperGLData):
* platform/graphics/texmap/TextureMapperImageBuffer.h:
(TextureMapperImageBuffer):
* platform/graphics/texmap/TextureMapperLayer.h:
(TextureMapperLayer):
* platform/image-decoders/bmp/BMPImageReader.h:
(BMPImageReader):
* platform/image-decoders/gif/GIFImageReader.h:
(GIFFrameReader):
(GIFImageReader):
* platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(JPEGImageReader):
* platform/image-decoders/png/PNGImageDecoder.cpp:
(PNGImageReader):
* platform/network/BlobRegistryImpl.h:
(BlobRegistryImpl):
* platform/network/ResourceResponseBase.h:
(CrossThreadResourceResponseDataBase):
* platform/text/TextCodecICU.h:
(ICUConverterWrapper):
* rendering/FlowThreadController.h:
(FlowThreadController):
* rendering/RenderBoxRegionInfo.h:
(RenderBoxRegionInfo):
* rendering/RenderLayer.h:
(ClipRects):
(ClipRectsCache):
* rendering/RenderLayerCompositor.h:
(RenderLayerCompositor):
* rendering/WrapShapeInfo.h:
(WrapShapeInfo):
* rendering/style/NinePieceImage.h:
(NinePieceImageData):
* rendering/svg/RenderSVGResourceFilter.h:
(FilterData):
* rendering/svg/RenderSVGResourceGradient.h:
(GradientData):
* rendering/svg/RenderSVGResourcePattern.h:
(PatternData):
* rendering/svg/SVGResources.h:
(ClipperFilterMaskerData):
(MarkerData):
(FillStrokeData):
* svg/SVGAngle.h:
(SVGAngle):
* svg/SVGLength.h:
(SVGLength):
* svg/SVGPreserveAspectRatio.h:
(SVGPreserveAspectRatio):
* svg/graphics/SVGImageCache.h:
(SVGImageCache):
* svg/properties/SVGPropertyInfo.h:
(SVGPropertyInfo):
* workers/WorkerEventQueue.h:
(WorkerEventQueue):
* xml/parser/MarkupTokenBase.h:
(DoctypeDataBase):
* xml/parser/XMLDocumentParserLibxml2.cpp:
(PendingCallbacks):
(OffsetBuffer):
* xml/parser/XMLToken.h:
(XMLDeclarationData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@128572 268f45cc-cd09-0410-ab3c-d52691b4dbfc

106 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/websockets/WebSocketDeflateFramer.cpp
Source/WebCore/Modules/websockets/WebSocketDeflateFramer.h
Source/WebCore/Modules/websockets/WebSocketDeflater.h
Source/WebCore/Modules/websockets/WebSocketHandshake.h
Source/WebCore/bindings/js/ScriptDebugServer.h
Source/WebCore/css/CSSCalculationValue.cpp [changed mode: 0755->0644]
Source/WebCore/css/CSSParserMode.h
Source/WebCore/css/CSSValuePool.h
Source/WebCore/css/StyleBuilder.h
Source/WebCore/css/StylePropertyShorthand.h
Source/WebCore/css/StyleResolver.cpp
Source/WebCore/css/StyleRule.h
Source/WebCore/css/StyleRuleImport.h
Source/WebCore/css/WebKitCSSKeyframeRule.h
Source/WebCore/dom/CheckedRadioButtons.cpp
Source/WebCore/dom/ContextFeatures.h
Source/WebCore/dom/DOMImplementation.h
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/ElementShadow.h
Source/WebCore/dom/GenericEventQueue.h
Source/WebCore/dom/IdTargetObserverRegistry.h
Source/WebCore/dom/NamedNodeMap.h
Source/WebCore/dom/ScopedEventQueue.h
Source/WebCore/dom/StyledElement.cpp
Source/WebCore/editing/EditingStyle.cpp
Source/WebCore/editing/SpellChecker.h
Source/WebCore/fileapi/ThreadableBlobRegistry.cpp
Source/WebCore/html/FormAssociatedElement.cpp
Source/WebCore/html/FormController.h
Source/WebCore/html/HTMLInputElement.cpp
Source/WebCore/html/PublicURLManager.h
Source/WebCore/html/StepRange.h
Source/WebCore/html/ValidationMessage.h
Source/WebCore/html/canvas/WebGLExtension.h
Source/WebCore/html/canvas/WebGLRenderingContext.cpp
Source/WebCore/html/parser/HTMLElementStack.h
Source/WebCore/html/parser/HTMLMetaCharsetParser.h
Source/WebCore/inspector/DOMEditor.h
Source/WebCore/inspector/InjectedScriptHost.h
Source/WebCore/inspector/InjectedScriptManager.h
Source/WebCore/inspector/InspectorCSSAgent.cpp
Source/WebCore/inspector/InspectorCounters.h
Source/WebCore/inspector/InspectorDOMAgent.cpp
Source/WebCore/inspector/InspectorFrontendClientLocal.cpp
Source/WebCore/inspector/InspectorHistory.h
Source/WebCore/inspector/InspectorOverlay.h
Source/WebCore/inspector/InspectorState.h
Source/WebCore/inspector/InspectorStyleSheet.cpp
Source/WebCore/inspector/InspectorWorkerAgent.cpp
Source/WebCore/inspector/NetworkResourcesData.h
Source/WebCore/inspector/WorkerInspectorController.cpp
Source/WebCore/loader/EmptyClients.h
Source/WebCore/loader/ResourceLoadScheduler.h
Source/WebCore/loader/icon/IconDatabase.cpp
Source/WebCore/page/ContentSecurityPolicy.cpp
Source/WebCore/page/ContentSecurityPolicy.h
Source/WebCore/page/FrameActionScheduler.h
Source/WebCore/page/MemoryInfo.cpp
Source/WebCore/platform/CalculationValue.h [changed mode: 0755->0644]
Source/WebCore/platform/Cursor.h
Source/WebCore/platform/Decimal.h
Source/WebCore/platform/Length.cpp
Source/WebCore/platform/MemoryPressureHandler.h
Source/WebCore/platform/PlatformKeyboardEvent.h
Source/WebCore/platform/ScrollAnimator.h
Source/WebCore/platform/graphics/GlyphPageTreeNode.h
Source/WebCore/platform/graphics/GraphicsContext.h
Source/WebCore/platform/graphics/GraphicsLayer.h
Source/WebCore/platform/graphics/IntRect.h
Source/WebCore/platform/graphics/ShadowBlur.cpp
Source/WebCore/platform/graphics/TextRun.h
Source/WebCore/platform/graphics/TiledBackingStoreBackend.h
Source/WebCore/platform/graphics/WidthIterator.h
Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h
Source/WebCore/platform/graphics/texmap/TextureMapper.h
Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp
Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.h
Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h
Source/WebCore/platform/image-decoders/bmp/BMPImageReader.h
Source/WebCore/platform/image-decoders/gif/GIFImageReader.h
Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp
Source/WebCore/platform/network/BlobRegistryImpl.h
Source/WebCore/platform/network/ResourceResponseBase.h
Source/WebCore/platform/text/TextCodecICU.h
Source/WebCore/rendering/FlowThreadController.h
Source/WebCore/rendering/RenderBoxRegionInfo.h
Source/WebCore/rendering/RenderLayer.h
Source/WebCore/rendering/RenderLayerCompositor.h
Source/WebCore/rendering/WrapShapeInfo.h
Source/WebCore/rendering/style/NinePieceImage.h
Source/WebCore/rendering/svg/RenderSVGResourceFilter.h
Source/WebCore/rendering/svg/RenderSVGResourceGradient.h
Source/WebCore/rendering/svg/RenderSVGResourcePattern.h
Source/WebCore/rendering/svg/SVGResources.h
Source/WebCore/svg/SVGAngle.h
Source/WebCore/svg/SVGLength.h
Source/WebCore/svg/SVGPreserveAspectRatio.h
Source/WebCore/svg/graphics/SVGImageCache.h
Source/WebCore/svg/properties/SVGPropertyInfo.h
Source/WebCore/workers/WorkerEventQueue.h
Source/WebCore/xml/parser/MarkupTokenBase.h
Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
Source/WebCore/xml/parser/XMLToken.h

index 760ce2fa1b54cdc2587f1dd04a95689969e3c042..5b95804fa8a4c2575e3665de8da366bafa03fb25 100644 (file)
@@ -1,3 +1,242 @@
+2012-09-14  Zoltan Horvath  <zoltan@webkit.org>
+
+        Extend the coverage of the Custom Allocation Framework in WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=96512
+
+        Reviewed by Eric Seidel.
+
+        Add WTF_MAKE_FAST_ALLOCATED macro to the following class/struct declarations because these
+        or their child classes are instantiated by operator new.
+
+        Covered by existing tests.
+
+        * Modules/websockets/WebSocketDeflateFramer.cpp:
+        (WebSocketExtensionDeflateFrame):
+        * Modules/websockets/WebSocketDeflateFramer.h:
+        (DeflateResultHolder):
+        (InflateResultHolder):
+        * Modules/websockets/WebSocketDeflater.h:
+        (WebSocketDeflater):
+        (WebSocketInflater):
+        * Modules/websockets/WebSocketHandshake.h:
+        (WebSocketHandshake):
+        * bindings/js/ScriptDebugServer.h:
+        (Task):
+        * css/CSSCalculationValue.cpp:
+        (CSSCalcPrimitiveValue):
+        * css/CSSParserMode.h:
+        (CSSParserContext):
+        * css/CSSValuePool.h:
+        (CSSValuePool):
+        * css/StyleBuilder.h:
+        (StyleBuilder):
+        * css/StylePropertyShorthand.h:
+        (StylePropertyShorthand):
+        * css/StyleResolver.cpp:
+        (RuleSet):
+        * css/StyleRule.h:
+        (StyleRuleBase):
+        (StyleRule):
+        * css/StyleRuleImport.h:
+        (StyleRuleImport):
+        * css/WebKitCSSKeyframeRule.h:
+        (StyleKeyframe):
+        * dom/CheckedRadioButtons.cpp:
+        (RadioButtonGroup):
+        * dom/ContextFeatures.h:
+        (ContextFeaturesClient):
+        * dom/DOMImplementation.h:
+        (DOMImplementation):
+        (XMLMIMETypeRegExp):
+        * dom/Document.cpp:
+        (ImmutableAttributeDataCacheKey):
+        * dom/ElementShadow.h:
+        (ElementShadow):
+        * dom/GenericEventQueue.h:
+        (GenericEventQueue):
+        * dom/IdTargetObserverRegistry.h:
+        (IdTargetObserverRegistry):
+        * dom/NamedNodeMap.h:
+        (NamedNodeMap):
+        * dom/ScopedEventQueue.h:
+        (ScopedEventQueue):
+        * dom/StyledElement.cpp:
+        (PresentationAttributeCacheEntry):
+        (PresentationAttributeCacheCleaner):
+        * editing/EditingStyle.cpp:
+        (HTMLElementEquivalent):
+        * editing/SpellChecker.h:
+        (SpellChecker):
+        * fileapi/ThreadableBlobRegistry.cpp:
+        (BlobRegistryContext):
+        * html/FormAssociatedElement.cpp:
+        (FormAttributeTargetObserver):
+        * html/FormController.h:
+        (FormController):
+        * html/HTMLInputElement.cpp:
+        (ListAttributeTargetObserver):
+        * html/PublicURLManager.h:
+        (PublicURLManager):
+        * html/StepRange.h:
+        (StepDescription):
+        * html/ValidationMessage.h:
+        (ValidationMessage):
+        * html/canvas/WebGLExtension.h:
+        (WebGLExtension):
+        * html/canvas/WebGLRenderingContext.cpp:
+        (WebCore):
+        (WebGLRenderingContextLostCallback):
+        (WebGLRenderingContextErrorMessageCallback):
+        * html/parser/HTMLElementStack.h:
+        (ElementRecord):
+        * html/parser/HTMLMetaCharsetParser.h:
+        (HTMLMetaCharsetParser):
+        * inspector/DOMEditor.h:
+        (DOMEditor):
+        * inspector/InjectedScriptHost.h:
+        (InspectableObject):
+        * inspector/InjectedScriptManager.h:
+        (InjectedScriptManager):
+        * inspector/InspectorCSSAgent.cpp:
+        (SelectorProfile):
+        * inspector/InspectorCounters.h:
+        (ThreadLocalInspectorCounters):
+        * inspector/InspectorDOMAgent.cpp:
+        (RevalidateStyleAttributeTask):
+        * inspector/InspectorFrontendClientLocal.cpp:
+        (InspectorBackendDispatchTask):
+        * inspector/InspectorHistory.h:
+        (InspectorHistory):
+        (Action):
+        * inspector/InspectorOverlay.h:
+        (HighlightConfig):
+        (InspectorOverlay):
+        * inspector/InspectorState.h:
+        (InspectorState):
+        * inspector/InspectorStyleSheet.cpp:
+        (ParsedStyleSheet):
+        * inspector/InspectorWorkerAgent.cpp:
+        (InspectorWorkerAgent::WorkerFrontendChannel):
+        * inspector/NetworkResourcesData.h:
+        (NetworkResourcesData):
+        (ResourceData):
+        * inspector/WorkerInspectorController.cpp:
+        * loader/EmptyClients.h:
+        (EmptyChromeClient):
+        * loader/ResourceLoadScheduler.h:
+        (ResourceLoadScheduler):
+        (HostInformation):
+        * loader/icon/IconDatabase.cpp:
+        (DefaultIconDatabaseClient):
+        (ClientWorkItem):
+        * page/ContentSecurityPolicy.cpp:
+        (CSPDirectiveList):
+        * page/ContentSecurityPolicy.h:
+        (ContentSecurityPolicy):
+        * page/FrameActionScheduler.h:
+        (FrameActionScheduler):
+        * page/MemoryInfo.cpp:
+        (HeapSizeCache):
+        * platform/CalculationValue.h:
+        (CalcExpressionNode):
+        * platform/Cursor.h:
+        (Cursor):
+        * platform/Decimal.h:
+        (Decimal):
+        * platform/Length.cpp:
+        (CalculationValueHandleMap):
+        * platform/MemoryPressureHandler.h:
+        (MemoryPressureHandler):
+        * platform/PlatformKeyboardEvent.h:
+        (PlatformKeyboardEvent):
+        * platform/ScrollAnimator.h:
+        (ScrollAnimator):
+        * platform/graphics/GlyphPageTreeNode.h:
+        (GlyphPageTreeNode):
+        * platform/graphics/GraphicsContext.h:
+        (GraphicsContextStateSaver):
+        * platform/graphics/GraphicsLayer.h:
+        (AnimationValue):
+        * platform/graphics/IntRect.h:
+        (IntRect):
+        * platform/graphics/ShadowBlur.cpp:
+        (ScratchBuffer):
+        * platform/graphics/TextRun.h:
+        (TextRun):
+        * platform/graphics/TiledBackingStoreBackend.h:
+        (TiledBackingStoreBackend):
+        * platform/graphics/WidthIterator.h:
+        (WidthIterator):
+        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+        (StreamingClient):
+        * platform/graphics/opengl/Extensions3DOpenGL.h:
+        (Extensions3DOpenGL):
+        * platform/graphics/texmap/TextureMapper.h:
+        (TextureMapper):
+        * platform/graphics/texmap/TextureMapperGL.cpp:
+        (TextureMapperGLData):
+        * platform/graphics/texmap/TextureMapperImageBuffer.h:
+        (TextureMapperImageBuffer):
+        * platform/graphics/texmap/TextureMapperLayer.h:
+        (TextureMapperLayer):
+        * platform/image-decoders/bmp/BMPImageReader.h:
+        (BMPImageReader):
+        * platform/image-decoders/gif/GIFImageReader.h:
+        (GIFFrameReader):
+        (GIFImageReader):
+        * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
+        (JPEGImageReader):
+        * platform/image-decoders/png/PNGImageDecoder.cpp:
+        (PNGImageReader):
+        * platform/network/BlobRegistryImpl.h:
+        (BlobRegistryImpl):
+        * platform/network/ResourceResponseBase.h:
+        (CrossThreadResourceResponseDataBase):
+        * platform/text/TextCodecICU.h:
+        (ICUConverterWrapper):
+        * rendering/FlowThreadController.h:
+        (FlowThreadController):
+        * rendering/RenderBoxRegionInfo.h:
+        (RenderBoxRegionInfo):
+        * rendering/RenderLayer.h:
+        (ClipRects):
+        (ClipRectsCache):
+        * rendering/RenderLayerCompositor.h:
+        (RenderLayerCompositor):
+        * rendering/WrapShapeInfo.h:
+        (WrapShapeInfo):
+        * rendering/style/NinePieceImage.h:
+        (NinePieceImageData):
+        * rendering/svg/RenderSVGResourceFilter.h:
+        (FilterData):
+        * rendering/svg/RenderSVGResourceGradient.h:
+        (GradientData):
+        * rendering/svg/RenderSVGResourcePattern.h:
+        (PatternData):
+        * rendering/svg/SVGResources.h:
+        (ClipperFilterMaskerData):
+        (MarkerData):
+        (FillStrokeData):
+        * svg/SVGAngle.h:
+        (SVGAngle):
+        * svg/SVGLength.h:
+        (SVGLength):
+        * svg/SVGPreserveAspectRatio.h:
+        (SVGPreserveAspectRatio):
+        * svg/graphics/SVGImageCache.h:
+        (SVGImageCache):
+        * svg/properties/SVGPropertyInfo.h:
+        (SVGPropertyInfo):
+        * workers/WorkerEventQueue.h:
+        (WorkerEventQueue):
+        * xml/parser/MarkupTokenBase.h:
+        (DoctypeDataBase):
+        * xml/parser/XMLDocumentParserLibxml2.cpp:
+        (PendingCallbacks):
+        (OffsetBuffer):
+        * xml/parser/XMLToken.h:
+        (XMLDeclarationData):
+
 2012-09-14  Andrey Adaikin  <aandrey@chromium.org>
 
         Web Inspector: [WebGL] Refactoring: move the proxy wrapping method up to the base class
index 76c040d1c9372ab70e226460a87d2a55f2c88ff0..bf7afdbab1cb4dfd62fa819354162410f0b9e74d 100644 (file)
@@ -41,6 +41,7 @@
 namespace WebCore {
 
 class WebSocketExtensionDeflateFrame : public WebSocketExtensionProcessor {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<WebSocketExtensionDeflateFrame> create(WebSocketDeflateFramer* framer)
     {
index a355268210d0f72868b6b2839ce9754efd95158d..f3232af70d00ee49d4ff21f85303a98127d8beb0 100644 (file)
@@ -46,6 +46,7 @@ namespace WebCore {
 class WebSocketDeflateFramer;
 
 class DeflateResultHolder {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<DeflateResultHolder> create(WebSocketDeflateFramer* framer)
     {
@@ -68,6 +69,7 @@ private:
 };
 
 class InflateResultHolder {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<InflateResultHolder> create(WebSocketDeflateFramer* framer)
     {
index 9c630dcfb6cf7d26fc6c104fa2bfafd038888ac9..f73eb20d39403ce4ba5a31e93d36b6e3d8870db4 100644 (file)
@@ -44,6 +44,7 @@ typedef z_stream_s z_stream;
 namespace WebCore {
 
 class WebSocketDeflater {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum ContextTakeOverMode {
         DoNotTakeOverContext,
@@ -70,6 +71,7 @@ private:
 };
 
 class WebSocketInflater {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<WebSocketInflater> create(int windowBits = 15);
 
index 4f5332aad5007f192b3b3be4eb3085f16d47b53d..c41fd8865bfa0f8351dca65307029f94d5e597c0 100644 (file)
@@ -46,7 +46,7 @@ namespace WebCore {
 class ScriptExecutionContext;
 
 class WebSocketHandshake {
-    WTF_MAKE_NONCOPYABLE(WebSocketHandshake);
+    WTF_MAKE_NONCOPYABLE(WebSocketHandshake); WTF_MAKE_FAST_ALLOCATED;
 public:
     enum Mode {
         Incomplete, Normal, Failed, Connected
index f36bba004391a48cc4d05f211c9abaf24cf2e219..0894106aa19040801ede32040179a6a2f30d5827 100644 (file)
@@ -96,6 +96,7 @@ public:
     void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionMessage);
 
     class Task {
+        WTF_MAKE_FAST_ALLOCATED;
     public:
         virtual ~Task() { }
         virtual void run() = 0;
old mode 100755 (executable)
new mode 100644 (file)
index 76b8509..c24bfd9
@@ -132,6 +132,7 @@ CSSCalcExpressionNode::~CSSCalcExpressionNode()
 }
     
 class CSSCalcPrimitiveValue : public CSSCalcExpressionNode {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
 
     static PassRefPtr<CSSCalcPrimitiveValue> create(CSSPrimitiveValue* value, bool isInteger)
index 5228e9812d9f22a9e8cb15a0760339edf1076e34..7248bb55a2cbac47ca875d9676bd16e60b03830a 100644 (file)
@@ -55,6 +55,8 @@ inline bool isStrictParserMode(CSSParserMode cssParserMode)
 }
 
 struct CSSParserContext {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     CSSParserContext(CSSParserMode, const KURL& baseURL = KURL());
     CSSParserContext(Document*, const KURL& baseURL = KURL(), const String& charset = emptyString());
 
index e2ac9d6b8f134f4278a999a7d24d219dfb90d2e1..0e3532eafcb97ce6cf9fea4adc1ee60abf3d40c3 100644 (file)
@@ -39,6 +39,7 @@ namespace WebCore {
 class CSSValueList;
 
 class CSSValuePool {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     PassRefPtr<CSSValueList> createFontFaceValue(const AtomicString&);
     PassRefPtr<CSSPrimitiveValue> createFontFamilyValue(const String&);
index a7221cb4eed25df6a18be335aac1ed974d81b3e2..ab41c9c7f7fafc95125fb2e0c8db3b6e8c97e087 100644 (file)
@@ -56,7 +56,7 @@ private:
 };
 
 class StyleBuilder {
-    WTF_MAKE_NONCOPYABLE(StyleBuilder);
+    WTF_MAKE_NONCOPYABLE(StyleBuilder); WTF_MAKE_FAST_ALLOCATED;
 public:
     static const StyleBuilder& sharedStyleBuilder();
 
index b4244d788398f53105d2433e60401652242ed997..5ead8ab9ae731241aa167e0db1f1b22d7d81b9bf 100644 (file)
@@ -26,6 +26,7 @@
 namespace WebCore {
 
 class StylePropertyShorthand {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     StylePropertyShorthand()
         : m_properties(0)
index 8e6cbead4fbbaa11a4ad41a0bd3da5e4e6a7a1b3..834d1d6031c2e35bcc13f68b3e02f5a8511d07c0 100644 (file)
@@ -252,7 +252,7 @@ struct SameSizeAsRuleData {
 COMPILE_ASSERT(sizeof(RuleData) == sizeof(SameSizeAsRuleData), RuleData_should_stay_small);
 
 class RuleSet {
-    WTF_MAKE_NONCOPYABLE(RuleSet);
+    WTF_MAKE_NONCOPYABLE(RuleSet); WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<RuleSet> create() { return adoptPtr(new RuleSet); }
 
index e97927bb3e6d66569e5f06723c293a001d9c68e4..e15f32e402aaf208d3cc0fccd358477b23035634 100644 (file)
@@ -34,6 +34,7 @@ class CSSStyleSheet;
 class StylePropertySet;
 
 class StyleRuleBase : public WTF::RefCountedBase {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum Type {
         Unknown, // Not used.
@@ -90,6 +91,7 @@ private:
 };
 
 class StyleRule : public StyleRuleBase {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassRefPtr<StyleRule> create(int sourceLine) { return adoptRef(new StyleRule(sourceLine)); }
     
index 391d291f7c12027509b54023f1174dc4ef9ab672..ae2f6e1387f5383b3080c0cd6db1af8f09f6379d 100644 (file)
@@ -34,6 +34,7 @@ class MediaQuerySet;
 class StyleSheetContents;
 
 class StyleRuleImport : public StyleRuleBase, public CachedStyleSheetClient {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassRefPtr<StyleRuleImport> create(const String& href, PassRefPtr<MediaQuerySet>);
 
index fa95278f357b640e04d09c6be9b35062e888cdcf..d817764f308537e87a248c901812aa2d76c33936 100644 (file)
@@ -38,6 +38,7 @@ class StyleRuleCSSStyleDeclaration;
 class WebKitCSSKeyframesRule;
 
 class StyleKeyframe : public RefCounted<StyleKeyframe> {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassRefPtr<StyleKeyframe> create()
     {
index e672329af8de378befdfc14f8acbd0f2ec0c7405..68982cd1ad33355ecd41b9f14ebabd0d69f93001 100644 (file)
@@ -27,6 +27,7 @@
 namespace WebCore {
 
 class RadioButtonGroup {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<RadioButtonGroup> create();
     bool isEmpty() const { return m_members.isEmpty(); }
index 34d53c881d6ab32383ca7d563d5332bdaa83abea..3b05d7788014a30e1dc3fa928f02854470577a57 100644 (file)
@@ -79,6 +79,7 @@ inline void ContextFeatures::hostDestroyed()
 
 
 class ContextFeaturesClient {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static ContextFeaturesClient* empty();
 
index 34cd9095af725a58b595f36e2d53f02208011235..9d53b916c5bcb6fab3c2912895db9420c5ea9bd8 100644 (file)
@@ -43,6 +43,7 @@ class RegularExpression;
 typedef int ExceptionCode;
 
 class DOMImplementation {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<DOMImplementation> create(Document* document) { return adoptPtr(new DOMImplementation(document)); }
     
@@ -76,12 +77,11 @@ private:
 };
 
 class XMLMIMETypeRegExp {
+    WTF_MAKE_NONCOPYABLE(XMLMIMETypeRegExp); WTF_MAKE_FAST_ALLOCATED;
 public:
     XMLMIMETypeRegExp();
     ~XMLMIMETypeRegExp();
     bool isXMLMIMEType(const String& mimeType);
-
-    WTF_MAKE_NONCOPYABLE(XMLMIMETypeRegExp);
 private:
     OwnPtr<RegularExpression> m_regex;
 };
index 3da89d7c92647645bab674c463758478f9f0d5f0..4989673a664ecbff1d3f141d34f16ea5dd913156 100644 (file)
@@ -6293,6 +6293,7 @@ PassRefPtr<UndoManager> Document::undoManager()
 #endif
 
 class ImmutableAttributeDataCacheKey {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ImmutableAttributeDataCacheKey()
         : m_localName(0)
index 9d839a4f18bcfe594dfc2f02a0b723ee77247200..ddb43806bde1539fc7adc2b9d8692ce723c833f6 100644 (file)
@@ -43,6 +43,7 @@ class Element;
 class TreeScope;
 
 class ElementShadow {
+   WTF_MAKE_NONCOPYABLE(ElementShadow); WTF_MAKE_FAST_ALLOCATED;
 public:
     ElementShadow();
     ~ElementShadow();
@@ -75,7 +76,6 @@ private:
 
     DoublyLinkedList<ShadowRoot> m_shadowRoots;
     ContentDistributor m_distributor;
-    WTF_MAKE_NONCOPYABLE(ElementShadow);
 };
 
 inline ShadowRoot* ElementShadow::youngestShadowRoot() const
index e795529e765a2216a10fa79c5336e15f5d453304..30430c6c120ee1a1106304dee800d9a934e0e06a 100644 (file)
@@ -36,7 +36,7 @@
 namespace WebCore {
 
 class GenericEventQueue : public EventQueue {
-
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     explicit GenericEventQueue(EventTarget*);
     static PassOwnPtr<GenericEventQueue> create(EventTarget*);
index aba7552100e4e97e0f6778a29dd4f7ab4d45301c..ef5d662b2f27613942556251b605597b35b5d51f 100644 (file)
@@ -37,8 +37,8 @@ namespace WebCore {
 class IdTargetObserver;
 
 class IdTargetObserverRegistry {
+    WTF_MAKE_FAST_ALLOCATED;
     friend class IdTargetObserver;
-
 public:
     static PassOwnPtr<IdTargetObserverRegistry> create();
     void notifyObservers(const AtomicString& id);
index dab6bf919e6a8dbacc4f7063dc3a820b15d41067..c3e0eef658cbecd1d8524fd8e3d8cf6aa113ca7b 100644 (file)
@@ -37,6 +37,7 @@ class Element;
 typedef int ExceptionCode;
 
 class NamedNodeMap {
+    WTF_MAKE_FAST_ALLOCATED;
     friend class Element;
 public:
     static PassOwnPtr<NamedNodeMap> create(Element* element)
index b8a640ddfefa6eeab9084bd8266c33983cfa0bd2..262f6a9f3aa445dd64bdd723082cd64bd3ab5171 100644 (file)
@@ -41,8 +41,7 @@ namespace WebCore {
 class EventDispatchMediator;
 
 class ScopedEventQueue {
-    WTF_MAKE_NONCOPYABLE(ScopedEventQueue);
-
+    WTF_MAKE_NONCOPYABLE(ScopedEventQueue); WTF_MAKE_FAST_ALLOCATED;
 public:
     ~ScopedEventQueue();
 
index e75cd531d16f8d8e2023692796f1fe49ac8f7522..12feb2af42aa3e699816411e0e211692527702b5 100644 (file)
@@ -59,6 +59,8 @@ struct PresentationAttributeCacheKey {
 };
 
 struct PresentationAttributeCacheEntry {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     PresentationAttributeCacheKey key;
     RefPtr<StylePropertySet> value;
 };
@@ -79,7 +81,7 @@ static PresentationAttributeCache& presentationAttributeCache()
 }
 
 class PresentationAttributeCacheCleaner {
-    WTF_MAKE_NONCOPYABLE(PresentationAttributeCacheCleaner);
+    WTF_MAKE_NONCOPYABLE(PresentationAttributeCacheCleaner); WTF_MAKE_FAST_ALLOCATED;
 public:
     PresentationAttributeCacheCleaner()
         : m_cleanTimer(this, &PresentationAttributeCacheCleaner::cleanCache)
index eaf16341b9797a7af0311b3781c1f74ab7d6ceee..b5b03d05de5f69e345d1cf3b9f8dcaec9c2cbd3e 100644 (file)
@@ -117,6 +117,7 @@ static bool hasTransparentBackgroundColor(StylePropertySet*);
 static PassRefPtr<CSSValue> backgroundColorInEffect(Node*);
 
 class HTMLElementEquivalent {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<HTMLElementEquivalent> create(CSSPropertyID propertyID, int primitiveValue, const QualifiedName& tagName)
     {
index cb677ab48bfc7fd13a311fd333918cd0f09ffb40..95338b06d7009b3bc17b59be923c4778ce65472c 100644 (file)
@@ -70,7 +70,7 @@ private:
 };
 
 class SpellChecker {
-    WTF_MAKE_NONCOPYABLE(SpellChecker);
+    WTF_MAKE_NONCOPYABLE(SpellChecker); WTF_MAKE_FAST_ALLOCATED;
 public:
     friend class SpellCheckRequest;
 
index 8a41285fcbca0d421b713d84b008f59442b86832..afe5b66ccabdf08a7b13f8c50a151c9425762c76 100644 (file)
@@ -47,6 +47,8 @@ using WTF::ThreadSpecific;
 namespace WebCore {
 
 struct BlobRegistryContext {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     BlobRegistryContext(const KURL& url, PassOwnPtr<BlobData> blobData)
         : url(url.copy())
         , blobData(blobData)
index 99377df34e37cce285d76761d43398aa972282ca..3d889783e9ed9fc0dd3c0d54fd2ff2d683f520a9 100644 (file)
@@ -39,6 +39,7 @@ namespace WebCore {
 using namespace HTMLNames;
 
 class FormAttributeTargetObserver : IdTargetObserver {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<FormAttributeTargetObserver> create(const AtomicString& id, FormAssociatedElement*);
     virtual void idTargetChanged() OVERRIDE;
index 0402b2cd1783c42259efd873ae9b664f234688ff..265d60152e85d0bb71997f18504a8ca1e696160e 100644 (file)
@@ -73,6 +73,7 @@ inline void FormControlState::append(const String& value)
 }
 
 class FormController {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<FormController> create()
     {
index 2c4c0482ffb78a41102b2414a69414802f9f3020..d1ea76caeac9d761877877cd2250977112246539 100644 (file)
@@ -80,6 +80,7 @@ using namespace HTMLNames;
 
 #if ENABLE(DATALIST_ELEMENT)
 class ListAttributeTargetObserver : IdTargetObserver {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<ListAttributeTargetObserver> create(const AtomicString& id, HTMLInputElement*);
     virtual void idTargetChanged() OVERRIDE;
index 55fefc3bd710df2b6ace4af3ff9c5283cc0f8fe0..e17e46a8d6baf7db6ca45df7825b01785b2b6d4f 100644 (file)
@@ -47,7 +47,7 @@ namespace WebCore {
 class ScriptExecutionContext;
 
 class PublicURLManager {
-
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<PublicURLManager> create() { return adoptPtr(new PublicURLManager); }
     void contextDestroyed()
index 63ab7561a2fe07532fc4f7d39f6786f689991c21..697a7b53d6abf7e401b5c7d98844429cb52873f3 100644 (file)
@@ -40,6 +40,8 @@ public:
     };
 
     struct StepDescription {
+        WTF_MAKE_FAST_ALLOCATED;
+    public:
         int defaultStep;
         int defaultStepBase;
         int stepScaleFactor;
index 2b3e765dc6cfea461d57eea9189aee4d4943c8d6..983442731878f5b6fe9ab76c502597e00c99a1a4 100644 (file)
@@ -47,7 +47,7 @@ class ValidationMessageClient;
 // FIXME: We should remove the code for !validationMessageClient() when all
 // ports supporting interactive validation switch to ValidationMessageClient.
 class ValidationMessage {
-    WTF_MAKE_NONCOPYABLE(ValidationMessage);
+    WTF_MAKE_NONCOPYABLE(ValidationMessage); WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<ValidationMessage> create(HTMLFormControlElement*);
     ~ValidationMessage();
index c66a60861c17afed9807354c19b7fc60b2a775e8..6968a02b4b99aba87a4cd215820365896f3c8123 100644 (file)
@@ -31,6 +31,7 @@
 namespace WebCore {
 
 class WebGLExtension {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     // Extension names are needed to properly wrap instances in JavaScript objects.
     enum ExtensionName {
index c40ba43e986a8aa53f5daa8626002b343fc6b85e..24b9c33f9322cbc7bfef14cbfa42e12e25414db9 100644 (file)
@@ -375,6 +375,7 @@ private:
 };
 
 class WebGLRenderingContextLostCallback : public GraphicsContext3D::ContextLostCallback {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     explicit WebGLRenderingContextLostCallback(WebGLRenderingContext* cb) : m_context(cb) { }
     virtual void onContextLost() { m_context->forceLostContext(WebGLRenderingContext::RealLostContext); }
@@ -384,6 +385,7 @@ private:
 };
 
 class WebGLRenderingContextErrorMessageCallback : public GraphicsContext3D::ErrorMessageCallback {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     explicit WebGLRenderingContextErrorMessageCallback(WebGLRenderingContext* cb) : m_context(cb) { }
     virtual void onErrorMessage(const String& message, GC3Dint) { m_context->printGLErrorToConsole(message); }
index b203ef15d0074208258a890fd60025983bcb6f3e..873cbdeb95b8eda06b3be80bd95ca7d238911ba3 100644 (file)
@@ -51,7 +51,7 @@ public:
     ~HTMLElementStack();
 
     class ElementRecord {
-        WTF_MAKE_NONCOPYABLE(ElementRecord);
+        WTF_MAKE_NONCOPYABLE(ElementRecord); WTF_MAKE_FAST_ALLOCATED;
     public:
         ~ElementRecord(); // Public for ~PassOwnPtr()
     
index 1ee87df9ad2857da80b3faef189a8c796ddce30e..436ea7926719cb5682ae98f07573fe78ceb45c5f 100644 (file)
@@ -37,7 +37,7 @@ class HTMLTokenizer;
 class TextCodec;
 
 class HTMLMetaCharsetParser {
-    WTF_MAKE_NONCOPYABLE(HTMLMetaCharsetParser);
+    WTF_MAKE_NONCOPYABLE(HTMLMetaCharsetParser); WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<HTMLMetaCharsetParser> create() { return adoptPtr(new HTMLMetaCharsetParser()); }
 
index 264913232205d5a375f0a44d5d44ff99ac0debc1..9a0d9915e3276b43bf0f97b526aadc4416392e28 100644 (file)
@@ -47,7 +47,7 @@ class Text;
 typedef String ErrorString;
 
 class DOMEditor {
-    WTF_MAKE_NONCOPYABLE(DOMEditor);
+    WTF_MAKE_NONCOPYABLE(DOMEditor); WTF_MAKE_FAST_ALLOCATED;
 public:
     explicit DOMEditor(InspectorHistory*);
     ~DOMEditor();
index ab50fb9390e7f02073cb2dbec21a6bb91db0edcc..af66b28b318ea9ef9c7148fe7e0f846a6f5c86d6 100644 (file)
@@ -92,6 +92,7 @@ public:
     void disconnect();
 
     class InspectableObject {
+        WTF_MAKE_FAST_ALLOCATED;
     public:
         virtual ScriptValue get(ScriptState*);
         virtual ~InspectableObject() { }
index ed51c03efc2eafddf8f5b3f2bb17c9cf7bb5d3fd..111e2b2b837325bf212158033e498788ea3e2581 100644 (file)
@@ -44,7 +44,7 @@ class InspectorObject;
 class ScriptObject;
 
 class InjectedScriptManager {
-    WTF_MAKE_NONCOPYABLE(InjectedScriptManager);
+    WTF_MAKE_NONCOPYABLE(InjectedScriptManager); WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<InjectedScriptManager> createForPage();
     static PassOwnPtr<InjectedScriptManager> createForWorker();
index 8660496ac78c6991ecb090ff41005438692dde62..60ebd9312b2a538a426f15f39c5cca6d6e43cede 100644 (file)
@@ -103,6 +103,7 @@ struct RuleMatchingStats {
 };
 
 class SelectorProfile {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     SelectorProfile()
         : m_totalMatchingTimeMs(0.0)
index 3becf76c16dc321a8a84938522b6cddc0f7a5995..82e1b5cea84b367b7fad9dfecdfc6fe41837b606 100644 (file)
@@ -31,6 +31,8 @@
 #ifndef InspectorCounters_h
 #define InspectorCounters_h
 
+#include <wtf/FastAllocBase.h>
+
 #if !ASSERT_DISABLED
 #include <wtf/MainThread.h>
 #endif
@@ -77,6 +79,7 @@ private:
 
 #if ENABLE(INSPECTOR)
 class ThreadLocalInspectorCounters {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum CounterType {
         JSEventListenerCounter,
index ed47b5d0a1739025596343a0273dbda1f0e24367..817f1df3b194e0bc2aecdba810c973e63876cb30 100644 (file)
@@ -144,6 +144,7 @@ static Color parseConfigColor(const String& fieldName, InspectorObject* configOb
 }
 
 class RevalidateStyleAttributeTask {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     RevalidateStyleAttributeTask(InspectorDOMAgent*);
     void scheduleFor(Element*);
index ebd9b219f8dc06f9bef9a1bb9c7485d403b5a145..530827353da87b5f3c5e829c4486156ce309d284 100644 (file)
@@ -65,6 +65,7 @@ static const float minimumAttachedHeight = 250.0f;
 static const float maximumAttachedHeightRatio = 0.75f;
 
 class InspectorBackendDispatchTask {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     InspectorBackendDispatchTask(InspectorController* inspectorController)
         : m_inspectorController(inspectorController)
index 037344b60f6095081a9569500eec0dcd641ddc1f..cb72a4a2a2bf4890a15dd2aecdce2b55968ea4a5 100644 (file)
@@ -46,9 +46,10 @@ class Node;
 #if ENABLE(INSPECTOR)
 
 class InspectorHistory {
-    WTF_MAKE_NONCOPYABLE(InspectorHistory);
+    WTF_MAKE_NONCOPYABLE(InspectorHistory); WTF_MAKE_FAST_ALLOCATED;
 public:
     class Action {
+        WTF_MAKE_FAST_ALLOCATED;
     public:
         Action(const String& name);
         virtual ~Action();
index 3cd57591bcd10e1d628a047e3520ef17c11549dd..31a63051cd93fa7cadf9f84eaf99f439dec5eced 100644 (file)
@@ -50,6 +50,8 @@ class Node;
 class Page;
 
 struct HighlightConfig {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     Color content;
     Color contentOutline;
     Color padding;
@@ -86,6 +88,7 @@ struct Highlight {
 };
 
 class InspectorOverlay {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<InspectorOverlay> create(Page* page, InspectorClient* client)
     {
index 1ec373e77d298190e8471ce13624a134d818ca9b..360b25977479737842609008e08252b0a345402f 100644 (file)
@@ -43,6 +43,7 @@ namespace WebCore {
 class InspectorStateClient;
 
 class InspectorState {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     InspectorState(InspectorStateClient*);
     virtual ~InspectorState() {}
index 3cf4d489cd56f8d6e96b2c9863ea4f4ae6939096..2de8d9cba39670a23bc51f67db028c8c26a1c971 100644 (file)
@@ -65,6 +65,7 @@ using WebCore::RuleSourceDataList;
 using WebCore::CSSRuleSourceData;
 
 class ParsedStyleSheet {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ParsedStyleSheet();
 
index 24beeb57d077f3209726047831782540bbc13270..1b7cedbc3832ecf9367fea7f5a0b6a017aeb8c15 100644 (file)
@@ -52,6 +52,7 @@ static const char autoconnectToWorkers[] = "autoconnectToWorkers";
 };
 
 class InspectorWorkerAgent::WorkerFrontendChannel : public WorkerContextProxy::PageInspector {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     explicit WorkerFrontendChannel(InspectorFrontend* frontend, WorkerContextProxy* proxy)
         : m_frontend(frontend)
index 8dfd5dd0dbb211a0c492ea6f1fd3a48e90771ec8..56cc37e6c94f31f7213f083dc7ceb8f79dc459a0 100644 (file)
@@ -47,8 +47,10 @@ class SharedBuffer;
 class TextResourceDecoder;
 
 class NetworkResourcesData {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     class ResourceData {
+        WTF_MAKE_FAST_ALLOCATED;
         friend class NetworkResourcesData;
     public:
         ResourceData(const String& requestId, const String& loaderId);
index 7d7aa9b89f6d0eecd8bdadd7ec5cbfb0f8b91498..d383c8cdd3dcfc236554d7331abd3d9f90c523c5 100644 (file)
@@ -59,6 +59,7 @@ namespace WebCore {
 namespace {
 
 class PageInspectorProxy : public InspectorFrontendChannel {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     explicit PageInspectorProxy(WorkerContext* workerContext) : m_workerContext(workerContext) { }
     virtual ~PageInspectorProxy() { }
@@ -72,6 +73,7 @@ private:
 };
 
 class WorkerStateClient : public InspectorStateClient {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     WorkerStateClient(WorkerContext* context) : m_workerContext(context) { }
     virtual ~WorkerStateClient() { }
index fbda2f60065d7806945584d9b602914b4a51760e..256aa99626e12d40d19c20903df8303684eb20a6 100644 (file)
@@ -65,6 +65,7 @@ namespace WebCore {
 class GraphicsContext3D;
 
 class EmptyChromeClient : public ChromeClient {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     virtual ~EmptyChromeClient() { }
     virtual void chromeDestroyed() { }
index f407a9e541168323527d26b27ee920f396cea730..9b6a5a398096e750807e709e2337d5502b6588f4 100644 (file)
@@ -46,7 +46,7 @@ class ResourceRequest;
 class SubresourceLoader;
 
 class ResourceLoadScheduler {
-    WTF_MAKE_NONCOPYABLE(ResourceLoadScheduler);
+    WTF_MAKE_NONCOPYABLE(ResourceLoadScheduler); WTF_MAKE_FAST_ALLOCATED;
 public:
     friend ResourceLoadScheduler* resourceLoadScheduler();
 
@@ -73,7 +73,7 @@ private:
     void requestTimerFired(Timer<ResourceLoadScheduler>*);
 
     class HostInformation {
-        WTF_MAKE_NONCOPYABLE(HostInformation);
+        WTF_MAKE_NONCOPYABLE(HostInformation); WTF_MAKE_FAST_ALLOCATED;
     public:
         HostInformation(const String&, unsigned);
         ~HostInformation();
index 40a7755ac470ba0b2176eb3169390a1af0c631c3..d70ecb5ab8b6827c1ca4b117c66492a36bc195d2 100644 (file)
@@ -91,6 +91,7 @@ static String urlForLogging(const String& url)
 #endif
 
 class DefaultIconDatabaseClient : public IconDatabaseClient {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     virtual bool performImport() { return true; }
     virtual void didImportIconURLForPageURL(const String&) { } 
@@ -2232,6 +2233,7 @@ void IconDatabase::setWasExcludedFromBackup()
 }
 
 class ClientWorkItem {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ClientWorkItem(IconDatabaseClient* client)
         : m_client(client)
index 02a151bd3b00c63fe4bd7ad2908c7fee7beb73c5..14221865c6758d846440bdcec988180c246cfa14 100644 (file)
@@ -700,6 +700,7 @@ private:
 };
 
 class CSPDirectiveList {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<CSPDirectiveList> create(ContentSecurityPolicy*, const String&, ContentSecurityPolicy::HeaderType);
 
index 3d40ec4cd236336f2fb1a1813e0391262f59b2ef..da3d978caa6092e07c5a8e48a6c2140feaa23e78 100644 (file)
@@ -49,6 +49,7 @@ typedef int SandboxFlags;
 typedef Vector<OwnPtr<CSPDirectiveList> > CSPDirectiveListVector;
 
 class ContentSecurityPolicy {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<ContentSecurityPolicy> create(ScriptExecutionContext* scriptExecutionContext)
     {
index 9590de9fe4414634c3f98c2f3615093e36fb7b35..f8069717564eca79f541ff630dbcb27f9682cef7 100644 (file)
@@ -47,6 +47,7 @@ public:
 };
 
 class FrameActionScheduler {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     FrameActionScheduler();
     ~FrameActionScheduler();
index 398c216c37f2126b9b7dc7fae4157f4dd4f47d07..836ec3328fa77cb8bd978ba6ba88307ff6b14f77 100644 (file)
@@ -43,7 +43,7 @@ namespace WebCore {
 #if ENABLE(INSPECTOR)
 
 class HeapSizeCache {
-    WTF_MAKE_NONCOPYABLE(HeapSizeCache);
+    WTF_MAKE_NONCOPYABLE(HeapSizeCache); WTF_MAKE_FAST_ALLOCATED;
 public:
     HeapSizeCache()
         : m_lastUpdateTime(0)
old mode 100755 (executable)
new mode 100644 (file)
index d0ac82d..72543ff
@@ -61,6 +61,7 @@ enum CalcExpressionNodeType {
 };
         
 class CalcExpressionNode {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     CalcExpressionNode()
         : m_type(CalcExpressionNodeUndefined)
index 770b44d2e258fe6c0a5f26efeffa9a5116630a65..3b0e5feaced492d31d5ae15f718dd44b8a7f5275 100644 (file)
@@ -99,6 +99,7 @@ namespace WebCore {
 #endif
 
     class Cursor {
+        WTF_MAKE_FAST_ALLOCATED;
     public:
         enum Type {
             Pointer,
index 9591ce48e2391ad08451b7139ff5be4da89d13b0..59cdb18d821c6bc61ab98be58ea87a50df0b5319 100644 (file)
@@ -47,6 +47,7 @@ class SpecialValueHandler;
 // class to compiler supported one. See below URI for current status of decimal
 // type for C++: // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1977.html
 class Decimal {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum Sign {
         Positive,
index 9433b08c589a68ddaf9677f0d6d23778a02279df..a5a3558aa524b1bf84779da0261151602d4e33e2 100644 (file)
@@ -151,6 +151,7 @@ PassOwnArrayPtr<Length> newLengthArray(const String& string, int& len)
 }
         
 class CalculationValueHandleMap {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     CalculationValueHandleMap() 
         : m_index(1) 
index 9d6e95f8d4ccc560c3a677520af5c5f887aba125..df62ca283e754de215b0696c11f450e78178b4f0 100644 (file)
 #define MemoryPressureHandler_h
 
 #include <time.h>
+#include <wtf/FastAllocBase.h>
 #include <wtf/Platform.h>
 
 namespace WebCore {
 
 class MemoryPressureHandler {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     friend MemoryPressureHandler& memoryPressureHandler();
 
index 47ceaf31af37b465ab0072893f5af3d0c367ace1..b6e92d780c598731cbe1838c44d14c3c92706d1b 100644 (file)
@@ -69,6 +69,7 @@ typedef struct _Evas_Event_Key_Up Evas_Event_Key_Up;
 namespace WebCore {
 
     class PlatformKeyboardEvent : public PlatformEvent {
+        WTF_MAKE_FAST_ALLOCATED;
     public:
         PlatformKeyboardEvent()
             : PlatformEvent(PlatformEvent::KeyDown)
index ebef189f3a1de5326aad94682caa7378cb21a3c7..e5aef74a3d35c7ea1a1012c56727b26c8e941b88 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "PlatformWheelEvent.h"
 #include "ScrollTypes.h"
+#include <wtf/FastAllocBase.h>
 #include <wtf/Forward.h>
 
 namespace WebCore {
@@ -42,6 +43,7 @@ class ScrollableArea;
 class Scrollbar;
 
 class ScrollAnimator {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<ScrollAnimator> create(ScrollableArea*);
 
index 466f01c85a830015160ec94530670a9c1191d07d..f8a9eea844cee96e337e63e4d5ffd65109607d70 100644 (file)
@@ -67,6 +67,7 @@ class SimpleFontData;
 // but on demand for each glyph, because the system may need to use different
 // fallback fonts for each. This lazy population is done by the Font.
 class GlyphPageTreeNode {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     GlyphPageTreeNode()
         : m_parent(0)
index 0369b20a76b307fd32f11d58f6b565a68a1cca61..16947fb32ec3c02d359e098bebdef0d33a78065c 100644 (file)
@@ -566,6 +566,7 @@ namespace WebCore {
     };
 
     class GraphicsContextStateSaver {
+        WTF_MAKE_FAST_ALLOCATED;
     public:
         GraphicsContextStateSaver(GraphicsContext& context, bool saveAndRestore = true)
         : m_context(context)
index 4233bc7f73adc8232538dfbca01e0e5c2a53843c..37ea8d052ea75072f3822a33b92a93da5ebd2cf9 100644 (file)
@@ -63,6 +63,7 @@ class TimingFunction;
 // represent values for properties being animated via the GraphicsLayer,
 // without pulling in style-related data from outside of the platform directory.
 class AnimationValue {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     AnimationValue(float keyTime, PassRefPtr<TimingFunction> timingFunction = 0)
         : m_keyTime(keyTime)
index eda582d2131b0cb5ab28d10cb67e3105cfba788c..257412ed84157a6c09f53c8e287e0fe386b35fef 100644 (file)
@@ -80,6 +80,7 @@ class FloatRect;
 class FractionalLayoutRect;
 
 class IntRect {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     IntRect() { }
     IntRect(const IntPoint& location, const IntSize& size)
index 30f77e8b808a54b289d1911940683b4aefd4dde9..e60f5c53de6a5a8cce47f31c2f46cc8527548206 100644 (file)
@@ -56,6 +56,7 @@ static inline int roundUpToMultipleOf32(int d)
 // Instead of creating and destroying the buffer for every operation,
 // we create a buffer which will be automatically purged via a timer.
 class ScratchBuffer {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ScratchBuffer()
         : m_purgeTimer(this, &ScratchBuffer::timerFired)
index 590a9ed4af33658fabef42960d2c10c8a257e2e5..8762d436ea7c0d3be47ad299b0a47f09a9764d98 100644 (file)
@@ -40,6 +40,7 @@ struct GlyphData;
 struct WidthIterator;
 
 class TextRun {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum ExpansionBehaviorFlags {
         ForbidTrailingExpansion = 0 << 0,
index 6b7fe8ac557211e041829784e41e191dd0a2cd61..214da3d7ae73af2d153f1cbff11212a692e48b31 100644 (file)
@@ -31,6 +31,7 @@ class TiledBackingStore;
 class TiledBackingStoreBackend;
 
 class TiledBackingStoreBackend {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<TiledBackingStoreBackend> create() { return adoptPtr(new TiledBackingStoreBackend); }
     virtual ~TiledBackingStoreBackend() { }
index 9118b6555320011e831da565cd1774f050bc0453..ce475dafa14a2bd0e8192b2b3cdd2bf423707fdd 100644 (file)
@@ -36,6 +36,8 @@ class TextRun;
 struct GlyphData;
 
 struct WidthIterator {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false, bool forTextEmphasis = false);
 
     unsigned advance(int to, GlyphBuffer* = 0);
index 109186116929440353fdf1ebba08e84e42db2f27..aebb3a732de6ebfc756316c457f9f4880ddb4635 100644 (file)
@@ -44,7 +44,7 @@
 using namespace WebCore;
 
 class StreamingClient : public ResourceHandleClient {
-    WTF_MAKE_NONCOPYABLE(StreamingClient);
+    WTF_MAKE_NONCOPYABLE(StreamingClient); WTF_MAKE_FAST_ALLOCATED;
     public:
         StreamingClient(WebKitWebSrc*);
         virtual ~StreamingClient();
index 36a44b40b1b3f3e2377ea7cdb23fb9efbdfe5279..3bec8965628f8945cbf516530c0cd226ebfc7712 100644 (file)
@@ -35,6 +35,7 @@
 namespace WebCore {
 
 class Extensions3DOpenGL : public Extensions3DOpenGLCommon {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     virtual ~Extensions3DOpenGL();
 
index 3d9452b760cd405de981d5420fc6faef2f030b3e..b4504682bc38d2108df3cb22dbb384b6b94b676c 100644 (file)
@@ -97,8 +97,8 @@ private:
 // A "context" class used to encapsulate accelerated texture mapping functions: i.e. drawing a texture
 // onto the screen or into another texture with a specified transform, opacity and mask.
 class TextureMapper {
+    WTF_MAKE_FAST_ALLOCATED;
     friend class BitmapTexture;
-
 public:
     enum AccelerationMode { SoftwareMode, OpenGLMode };
     enum PaintFlag {
index ca375b1fdb6e87d7764b7f86ad1e7d6102da3f43..7f10e31bb738d0360e448237b097950a85cf48df 100644 (file)
@@ -57,6 +57,8 @@
 
 namespace WebCore {
 struct TextureMapperGLData {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     struct SharedGLData : public RefCounted<SharedGLData> {
 
         typedef HashMap<PlatformGraphicsContext3D, SharedGLData*> GLContextDataMap;
index 4e2c691541ca8ee49ba2befdc13cfa44d40cea87..71511fc12b4f3d529bbec8176e662c0573002046 100644 (file)
@@ -47,6 +47,7 @@ private:
 
 
 class TextureMapperImageBuffer : public TextureMapper {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<TextureMapper> create() { return adoptPtr(new TextureMapperImageBuffer); }
 
index af52e989592a8388c52858b647deb20dab5db4ee..2f7f4b8212fa1884b9d00f80e1ef673ec1899d38 100644 (file)
@@ -59,7 +59,7 @@ public:
 };
 
 class TextureMapperLayer : public GraphicsLayerAnimation::Client {
-
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     // This set of flags help us defer which properties of the layer have been
     // modified by the compositor, so we can know what to look for in the next flush.
index dfaa9ec859dc3b43cba771bc7bae6c8c85696abd..b5cb96e3f92992dd762e5374b5d55ccd7853ccc1 100644 (file)
@@ -39,6 +39,7 @@ namespace WebCore {
     // This class decodes a BMP image.  It is used in the BMP and ICO decoders,
     // which wrap it in the appropriate code to read file headers, etc.
     class BMPImageReader {
+        WTF_MAKE_FAST_ALLOCATED;
     public:
         // Read a value from |data[offset]|, converting from little to native
         // endianness.
index b6eb9432040f8eba731ed9cfb49580b542adb171..052532c645363147748f9ba64ea78a151fee3ade 100644 (file)
@@ -77,6 +77,8 @@ typedef enum {
 } gstate;
 
 struct GIFFrameReader {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     /* LZW decoder state machine */
     unsigned char *stackp;              /* Current stack pointer */
     int datasize;
@@ -152,6 +154,8 @@ struct GIFFrameReader {
 };
 
 struct GIFImageReader {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     WebCore::GIFImageDecoder* clientptr;
     /* Parsing state machine */
     gstate state;                      /* Current decoder master state */
index 2af4dafa11267af26cf9e5734ed06159ffefadfb..0e4b53504cf139dd5cee651e156a583cbd010c90 100644 (file)
@@ -161,8 +161,8 @@ static ColorProfile readColorProfile(jpeg_decompress_struct* info)
 #endif
 }
 
-class JPEGImageReader
-{
+class JPEGImageReader {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     JPEGImageReader(JPEGImageDecoder* decoder)
         : m_decoder(decoder)
index 470241239152c64b449745f9c684c78c247c9f10..cc75cb5b288e9837b9ab6570b1257019a123c669 100644 (file)
@@ -104,8 +104,8 @@ static void PNGAPI pngComplete(png_structp png, png_infop)
     static_cast<PNGImageDecoder*>(png_get_progressive_ptr(png))->pngComplete();
 }
 
-class PNGImageReader
-{
+class PNGImageReader {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     PNGImageReader(PNGImageDecoder* decoder)
         : m_readOffset(0)
index 807dce73cf88bc34dd8fbd9af24bd2d3fb3c2796..b861d3e235a23fc9bd7f28edab3cc07b65bd6089 100644 (file)
@@ -50,6 +50,7 @@ class ResourceResponse;
 
 // BlobRegistryImpl is not thread-safe. It should only be called from main thread.
 class BlobRegistryImpl : public BlobRegistry {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     virtual ~BlobRegistryImpl() { }
 
index 0beeeaa12041263edc58d2cc387b0b6c6ccd463c..0383de88a72feecdabd72ef14e719d332d368905 100644 (file)
@@ -191,7 +191,7 @@ inline bool operator==(const ResourceResponse& a, const ResourceResponse& b) { r
 inline bool operator!=(const ResourceResponse& a, const ResourceResponse& b) { return !(a == b); }
 
 struct CrossThreadResourceResponseDataBase {
-    WTF_MAKE_NONCOPYABLE(CrossThreadResourceResponseDataBase);
+    WTF_MAKE_NONCOPYABLE(CrossThreadResourceResponseDataBase); WTF_MAKE_FAST_ALLOCATED;
 public:
     CrossThreadResourceResponseDataBase() { }
     KURL m_url;
index 28e3da55fcb8f54d5e64200d78a18c3db924995d..67c8e86a91916fe2bdd203116f0ddffcfaf6cf18 100644 (file)
@@ -63,12 +63,12 @@ namespace WebCore {
     };
 
     struct ICUConverterWrapper {
+        WTF_MAKE_NONCOPYABLE(ICUConverterWrapper); WTF_MAKE_FAST_ALLOCATED;
+    public:
         ICUConverterWrapper() : converter(0) { }
         ~ICUConverterWrapper();
 
         UConverter* converter;
-
-        WTF_MAKE_NONCOPYABLE(ICUConverterWrapper);
     };
 
 } // namespace WebCore
index 0aef611308b4091ec329c338bade70137c8aaa75..ae6237d2da137740e85450cbaf51112062eb23ca 100644 (file)
@@ -42,6 +42,7 @@ class RenderNamedFlowThread;
 typedef ListHashSet<RenderNamedFlowThread*> RenderNamedFlowThreadList;
 
 class FlowThreadController {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassOwnPtr<FlowThreadController> create(RenderView*);
     ~FlowThreadController();
index 3f9d0fa1b153f655e262fd4aba89df451ce37882..bcaa3353ce5b2fd9ec7304d44c8f9ad2cb9d7c91 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class RenderBoxRegionInfo {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     RenderBoxRegionInfo(LayoutUnit logicalLeft, LayoutUnit logicalWidth, bool isShifted)
         : m_logicalLeft(logicalLeft)
index 3805581cde019e5044bd93ea9b3ab4f361da9653..8e026833d0f3d0a36d82514ef3bdd71853e21316 100644 (file)
@@ -130,6 +130,7 @@ inline ClipRect intersection(const ClipRect& a, const ClipRect& b)
 }
 
 class ClipRects {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassRefPtr<ClipRects> create()
     {
@@ -227,6 +228,8 @@ enum ClipRectsType {
 };
 
 struct ClipRectsCache {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     ClipRectsCache()
     {
 #ifndef NDEBUG
index 46a97a57fb8c69cb52ca882f4858fd0aabe348d3..2a7cdd071d49ea24b8d725c310ab9b4d079c26c7 100644 (file)
@@ -55,6 +55,7 @@ enum CompositingUpdateType {
 // There is one RenderLayerCompositor per RenderView.
 
 class RenderLayerCompositor : public GraphicsLayerClient {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     RenderLayerCompositor(RenderView*);
     ~RenderLayerCompositor();
index f996b6419b1d233be0972f0042b74bab46a641ba..080b842a89eba99fb356108eb19469e0541e1136 100644 (file)
@@ -52,6 +52,7 @@ struct LineSegment {
 typedef Vector<LineSegment> SegmentList;
 
 class WrapShapeInfo {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum LineState {
         LINE_BEFORE_SHAPE,
index 8f7ed87605ff5f5ebd71966a59a1ca53f66bdc15..a44eed6a0c8dba7dbd40c6768ab69a088d154beb 100644 (file)
@@ -35,6 +35,7 @@ enum ENinePieceImageRule {
 };
 
 class NinePieceImageData {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     NinePieceImageData()
         : m_image(0)
index 93bb6b367921f3a8cc40fffe077d8bb0139720ee..22537b12500dc2d17e8fa60c4a2b55f441613ee3 100644 (file)
@@ -40,6 +40,8 @@
 namespace WebCore {
 
 struct FilterData {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     FilterData()
         : savedContext(0)
         , builded(false)
index d30a6b345d5a6a1c2f53fb7babd54cfd8164b83d..d799f756d782996f35f695446ea2542723d04b54 100644 (file)
@@ -35,6 +35,8 @@
 namespace WebCore {
 
 struct GradientData {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     RefPtr<Gradient> gradient;
     AffineTransform userspaceTransform;
 };
index 70cbf0f01fa7bf1ec7f12d86f6e1d1fea2b6ee50..9e39383bda8b222eec892dd12eafa708180ea68b 100644 (file)
@@ -37,6 +37,8 @@
 namespace WebCore {
 
 struct PatternData {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     RefPtr<Pattern> pattern;
     AffineTransform transform;
 };
index ec43e38e3a05bcc43a20a2cec81ded0de43d6890..0079b7309dceec4a3f7fbf75e65da7b6cbaabd9c 100644 (file)
@@ -113,6 +113,8 @@ private:
     // masker:  'container elements' and 'graphics elements'
     // -> a, circle, defs, ellipse, glyph, g, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg, switch, symbol, text, use
     struct ClipperFilterMaskerData {
+        WTF_MAKE_FAST_ALLOCATED;
+    public:
         ClipperFilterMaskerData()
             : clipper(0)
 #if ENABLE(FILTERS)
@@ -137,6 +139,8 @@ private:
     // From SVG 1.1 2nd Edition
     // marker: line, path, polygon, polyline
     struct MarkerData {
+        WTF_MAKE_FAST_ALLOCATED;
+    public:
         MarkerData()
             : markerStart(0)
             , markerMid(0)
@@ -159,6 +163,8 @@ private:
     // stroke:     'shapes' and 'text content elements'
     // -> altGlyph, circle, ellipse, line, path, polygon, polyline, rect, text, textPath, tref, tspan
     struct FillStrokeData {
+        WTF_MAKE_FAST_ALLOCATED;
+    public:
         FillStrokeData()
             : fill(0)
             , stroke(0)
index a0b7e39fe03b102758faa2de3741a857b8f33ad0..f127fd458880b2553e549770911413ee1afc20ea 100644 (file)
@@ -30,6 +30,7 @@ namespace WebCore {
 typedef int ExceptionCode;
 
 class SVGAngle {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     SVGAngle();
 
index a24ea053a53ba90ccf67dd0d0fcf4f38df708d05..24f6907c27a69684ec5e88bd99e8246cfc10032a 100644 (file)
@@ -40,6 +40,7 @@ enum SVGLengthNegativeValuesMode {
 };
 
 class SVGLength {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     // Forward declare these enums in the w3c naming scheme, for IDL generation
     enum {
index ed990c2e24eb722a61769872ab125ae7599c5ca0..5e6f4b9f497b895e5bb6ee0ba2484f9c0612934a 100644 (file)
@@ -32,6 +32,7 @@ class FloatRect;
 typedef int ExceptionCode;
 
 class SVGPreserveAspectRatio {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum SVGPreserveAspectRatioType {
         SVG_PRESERVEASPECTRATIO_UNKNOWN = 0,
index 25c76a0ee75a7e1e9da4a58463c62b247bc2a04f..e331b4d9a139fc76aeb5c0777986b7c81ea04173 100644 (file)
@@ -37,6 +37,7 @@ class SVGImage;
 class RenderObject;
 
 class SVGImageCache {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ~SVGImageCache();
 
index c2f7334762aed19c20d93b90375ba6c79c91b5a3..b629ab8f6fd50cc1e590f2fcc3dc2b39645b2ad0 100644 (file)
@@ -55,6 +55,8 @@ enum AnimatedPropertyType {
 };
 
 struct SVGPropertyInfo {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     typedef void (*SynchronizeProperty)(void*);
     typedef PassRefPtr<SVGAnimatedProperty> (*LookupOrCreateWrapperForAnimatedProperty)(void*);
 
index 2b0f1fbcbe21aeadcee4951310c5cd9f96cdcb7b..4661dfab906542bfece1c8e8f08f7ed661184f63 100644 (file)
@@ -40,6 +40,7 @@ class Node;
 class ScriptExecutionContext;
 
 class WorkerEventQueue : public EventQueue {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
 
     static PassOwnPtr<WorkerEventQueue> create(ScriptExecutionContext*);
index 14914eeb1f56600ad29df6977f5997984678a95d..039b3165efe7064aa9f5addf293a1359b0949aab 100644 (file)
@@ -47,7 +47,7 @@ static inline Attribute* findAttributeInVector(Vector<Attribute>& attributes, co
 
 
 class DoctypeDataBase {
-    WTF_MAKE_NONCOPYABLE(DoctypeDataBase);
+    WTF_MAKE_NONCOPYABLE(DoctypeDataBase); WTF_MAKE_FAST_ALLOCATED;
 public:
     DoctypeDataBase()
         : m_hasPublicIdentifier(false)
index 208336ed25db9074e25f9fe61a05fde18a9fa6fc..3a4a47374fc20262e55207d7abd4e42fa5ee5945 100644 (file)
@@ -73,7 +73,7 @@ using namespace std;
 namespace WebCore {
 
 class PendingCallbacks {
-    WTF_MAKE_NONCOPYABLE(PendingCallbacks);
+    WTF_MAKE_NONCOPYABLE(PendingCallbacks); WTF_MAKE_FAST_ALLOCATED;
 public:
     ~PendingCallbacks() { }
     static PassOwnPtr<PendingCallbacks> create()
@@ -344,6 +344,7 @@ static int matchFunc(const char*)
 }
 
 class OffsetBuffer {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     OffsetBuffer(const Vector<char>& b) : m_buffer(b), m_currentOffset(0) { }
 
index 2a223317c11fae116bc13092bf84ba009ed94709..b595a6f009e072565f31d86eedc9d098ff27f3b9 100644 (file)
@@ -57,7 +57,7 @@ public:
 class XMLToken : public MarkupTokenBase<XMLTokenTypes, DoctypeDataBase, PrefixedAttribute> {
 public:
     class XMLDeclarationData {
-        WTF_MAKE_NONCOPYABLE(XMLDeclarationData);
+        WTF_MAKE_NONCOPYABLE(XMLDeclarationData); WTF_MAKE_FAST_ALLOCATED;
     public:
         XMLDeclarationData()
             : m_hasStandalone(false)