JavaScriptCore:
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Feb 2008 19:27:12 +0000 (19:27 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Feb 2008 19:27:12 +0000 (19:27 +0000)
commit75b41d6b1a8b0438ac70160bfa35a3dc8907512f
tree3555065f5fe30723130d8074aebb521dcc30a3ce
parent02c7a935c6bc2a52599556ba4fb78bf04823ac6f
JavaScriptCore:

        Reviewed by Eric.

        - http://bugs.webkit.org/show_bug.cgi?id=17256
          Make clients of RefCounted explicitly set the count to 0.

        * API/JSClassRef.cpp:
        (OpaqueJSClass::OpaqueJSClass):
        * bindings/runtime_root.cpp:
        (KJS::Bindings::RootObject::RootObject):

WebCore:

        Reviewed by Eric.

        - http://bugs.webkit.org/show_bug.cgi?id=17256
          Make clients of RefCounted explicitly set the count to 0.

        * bindings/js/JSSVGPODTypeWrapper.h:
        (WebCore::JSSVGPODTypeWrapper::JSSVGPODTypeWrapper):
        * css/CSSFontFace.h:
        (WebCore::CSSFontFace::CSSFontFace):
        * css/CSSRuleList.cpp:
        (WebCore::CSSRuleList::CSSRuleList):
        * css/CSSSegmentedFontFace.cpp:
        (WebCore::CSSSegmentedFontFace::CSSSegmentedFontFace):
        * css/Counter.h:
        (WebCore::Counter::Counter):
        * css/Pair.h:
        (WebCore::Pair::Pair):
        * css/Rect.h:
        (WebCore::Rect::Rect):
        * css/StyleBase.h:
        (WebCore::StyleBase::StyleBase):
        * css/StyleSheetList.cpp:
        (WebCore::StyleSheetList::StyleSheetList):
        * dom/Attr.cpp:
        (WebCore::Attr::Attr):
        * dom/Attr.h:
        * dom/Attribute.h:
        (WebCore::Attribute::Attribute):
        * dom/Clipboard.cpp:
        (WebCore::Clipboard::Clipboard):
        * dom/DOMImplementation.h:
        (WebCore::DOMImplementation::DOMImplementation):
        * dom/Event.cpp:
        (WebCore::Event::Event):
        * dom/EventListener.h:
        (WebCore::EventListener::EventListener):
        * dom/ExceptionBase.cpp:
        (WebCore::ExceptionBase::ExceptionBase):
        * dom/NamedAttrMap.h:
        (WebCore::NamedAttrMap::insertAttribute):
        * dom/NamedNodeMap.h:
        (WebCore::NamedNodeMap::NamedNodeMap):
        * dom/NodeFilter.h:
        (WebCore::NodeFilter::NodeFilter):
        * dom/NodeFilterCondition.h:
        (WebCore::NodeFilterCondition::NodeFilterCondition):
        * dom/NodeList.h:
        (WebCore::NodeList::NodeList):
        * dom/QualifiedName.h:
        (WebCore::QualifiedName::QualifiedNameImpl::QualifiedNameImpl):
        (WebCore::QualifiedName::ref):
        * dom/Range.cpp:
        (WebCore::Range::Range):
        * dom/RegisteredEventListener.cpp:
        (WebCore::RegisteredEventListener::RegisteredEventListener):
        * dom/StyledElement.h:
        * dom/Traversal.cpp:
        (WebCore::Traversal::Traversal):
        * editing/EditCommand.cpp:
        (WebCore::EditCommand::EditCommand):
        * history/BackForwardList.cpp:
        (WebCore::BackForwardList::BackForwardList):
        * history/CachedPage.cpp:
        (WebCore::CachedPage::CachedPage):
        * history/HistoryItem.cpp:
        (WebCore::HistoryItem::HistoryItem):
        * html/CanvasGradient.cpp:
        (WebCore::CanvasGradient::CanvasGradient):
        * html/CanvasPattern.cpp:
        (WebCore::CanvasPattern::CanvasPattern):
        * html/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D):
        * html/CanvasStyle.cpp:
        (WebCore::CanvasStyle::CanvasStyle):
        * html/HTMLCollection.cpp:
        (WebCore::HTMLCollection::HTMLCollection):
        * html/MediaError.h:
        (WebCore::MediaError::MediaError):
        * html/TimeRanges.cpp:
        (TimeRanges::TimeRanges):
        * html/TimeRanges.h:
        (WebCore::TimeRanges::TimeRanges):
        * html/VoidCallback.h:
        (WebCore::VoidCallback::VoidCallback):
        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::DocumentLoader):
        * loader/FormState.cpp:
        (WebCore::FormState::FormState):
        * loader/ResourceLoader.cpp:
        (WebCore::ResourceLoader::ResourceLoader):
        * loader/TextResourceDecoder.cpp:
        (WebCore::TextResourceDecoder::TextResourceDecoder):
        * loader/icon/IconRecord.cpp:
        (WebCore::IconRecord::IconRecord):
        * page/BarInfo.cpp:
        (WebCore::BarInfo::BarInfo):
        * page/Console.cpp:
        (WebCore::Console::Console):
        * page/DOMSelection.cpp:
        (WebCore::DOMSelection::DOMSelection):
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::DOMWindow):
        * page/Frame.cpp:
        (WebCore::Frame::Frame):
        * page/History.cpp:
        (WebCore::History::History):
        * page/InspectorController.cpp:
        (WebCore::InspectorResource::InspectorResource):
        (WebCore::InspectorDatabaseResource::InspectorDatabaseResource):
        * page/Plugin.h:
        (WebCore::Plugin::Plugin):
        * page/Screen.cpp:
        (WebCore::Screen::Screen):
        * platform/ArrayImpl.cpp:
        (WebCore::ArrayImpl::ArrayPrivate::ArrayPrivate):
        * platform/DeprecatedValueListImpl.cpp:
        (WebCore::DeprecatedValueListImpl::Private::Private):
        * platform/ScrollBar.cpp:
        (WebCore::Scrollbar::Scrollbar):
        * platform/SharedBuffer.cpp:
        (WebCore::SharedBuffer::SharedBuffer):
        * platform/graphics/FontFallbackList.cpp:
        (WebCore::FontFallbackList::FontFallbackList):
        * platform/graphics/FontFamily.cpp:
        (WebCore::FontFamily::FontFamily):
        * platform/graphics/FontFamily.h:
        (WebCore::FontFamily::FontFamily):
        * platform/graphics/FontSelector.h:
        (WebCore::FontSelector::FontSelector):
        (WebCore::FontSelector::~FontSelector):
        * platform/graphics/GlyphPageTreeNode.h:
        (WebCore::GlyphPage::GlyphPage):
        * platform/graphics/mac/IconMac.mm:
        (WebCore::Icon::Icon):
        * platform/mac/FileChooserMac.mm:
        (WebCore::FileChooser::FileChooser):
        * platform/mac/PopupMenuMac.mm:
        (WebCore::PopupMenu::PopupMenu):
        * platform/mac/SharedBufferMac.mm:
        (WebCore::SharedBuffer::SharedBuffer):
        * platform/network/FormData.cpp:
        (WebCore::FormData::FormData):
        * platform/network/FormData.h:
        (WebCore::FormData::FormData):
        * platform/network/ResourceHandle.cpp:
        (WebCore::ResourceHandle::ResourceHandle):
        * platform/text/CString.h:
        (WebCore::CStringBuffer::CStringBuffer):
        * platform/text/RegularExpression.cpp:
        (WebCore::RegularExpression::Private::Private):
        * rendering/RenderStyle.cpp:
        (WebCore::StyleSurroundData::StyleSurroundData):
        (WebCore::StyleBoxData::StyleBoxData):
        (WebCore::StyleVisualData::StyleVisualData):
        (WebCore::StyleBackgroundData::StyleBackgroundData):
        (WebCore::StyleMarqueeData::StyleMarqueeData):
        (WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
        (WebCore::StyleMultiColData::StyleMultiColData):
        (WebCore::StyleTransformData::StyleTransformData):
        (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
        (WebCore::StyleRareInheritedData::StyleRareInheritedData):
        (WebCore::StyleInheritedData::StyleInheritedData):
        * rendering/RenderStyle.h:
        (WebCore::TransformOperation::TransformOperation):
        (WebCore::CursorList::CursorList):
        * rendering/SVGCharacterLayoutInfo.h:
        (WebCore::SVGCharOnPath::SVGCharOnPath):
        * rendering/SVGRenderStyle.cpp:
        (WebCore::SVGRenderStyle::SVGRenderStyle):
        * rendering/SVGRenderStyle.h:
        (WebCore::SVGRenderStyle::SVGRenderStyle):
        * rendering/SVGRenderStyleDefs.cpp:
        (StyleFillData::StyleFillData):
        (StyleStrokeData::StyleStrokeData):
        (StyleStopData::StyleStopData):
        (StyleTextData::StyleTextData):
        (StyleClipData::StyleClipData):
        (StyleMaskData::StyleMaskData):
        (StyleMarkerData::StyleMarkerData):
        (StyleMiscData::StyleMiscData):
        * storage/SQLResultSetRowList.h:
        (WebCore::SQLResultSetRowList::SQLResultSetRowList):
        * svg/SVGAngle.cpp:
        (WebCore::SVGAngle::SVGAngle):
        * svg/SVGAnimatedTemplate.h:
        (WebCore::SVGAnimatedTemplate::SVGAnimatedTemplate):
        * svg/SVGElementInstanceList.cpp:
        (WebCore::SVGElementInstanceList::SVGElementInstanceList):
        * svg/SVGList.h:
        (WebCore::SVGList::SVGList):
        (WebCore::SVGPODListItem::SVGPODListItem):
        * svg/SVGPathSeg.h:
        (WebCore::SVGPathSeg::SVGPathSeg):
        * svg/SVGPreserveAspectRatio.cpp:
        (WebCore::SVGPreserveAspectRatio::SVGPreserveAspectRatio):
        * svg/SVGRenderingIntent.h:
        (WebCore::SVGRenderingIntent::SVGRenderingIntent):
        * svg/SVGUnitTypes.h:
        (WebCore::SVGUnitTypes::SVGUnitTypes):
        * svg/graphics/SVGPaintServerGradient.h:
        (WebCore::SVGPaintServerGradient::SharedStopCache::SharedStopCache):
        * svg/graphics/SVGResource.cpp:
        (WebCore::SVGResource::SVGResource):
        * xml/DOMParser.h:
        (WebCore::DOMParser::DOMParser):
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::XMLHttpRequest):
        * xml/XMLSerializer.h:
        (WebCore::XMLSerializer::XMLSerializer):
        * xml/XPathEvaluator.h:
        (WebCore::XPathEvaluator::XPathEvaluator):
        * xml/XPathExpression.h:
        (WebCore::XPathExpression::XPathExpression):
        * xml/XPathNSResolver.h:
        (WebCore::XPathNSResolver::XPathNSResolver):
        * xml/XPathResult.cpp:
        (WebCore::XPathResult::XPathResult):
        * xml/XPathValue.h:
        (WebCore::XPath::ValueData::ValueData):
        * xml/XSLTProcessor.h:
        (WebCore::XSLTProcessor::XSLTProcessor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
102 files changed:
JavaScriptCore/API/JSClassRef.cpp
JavaScriptCore/ChangeLog
JavaScriptCore/bindings/runtime_root.cpp
WebCore/ChangeLog
WebCore/bindings/js/JSSVGPODTypeWrapper.h
WebCore/css/CSSFontFace.h
WebCore/css/CSSRuleList.cpp
WebCore/css/CSSSegmentedFontFace.cpp
WebCore/css/Counter.h
WebCore/css/Pair.h
WebCore/css/Rect.h
WebCore/css/StyleBase.h
WebCore/css/StyleSheetList.cpp
WebCore/dom/Attr.cpp
WebCore/dom/Attr.h
WebCore/dom/Attribute.h
WebCore/dom/Clipboard.cpp
WebCore/dom/DOMImplementation.h
WebCore/dom/Event.cpp
WebCore/dom/EventListener.h
WebCore/dom/ExceptionBase.cpp
WebCore/dom/NamedAttrMap.h
WebCore/dom/NamedNodeMap.h
WebCore/dom/NodeFilter.h
WebCore/dom/NodeFilterCondition.h
WebCore/dom/NodeList.h
WebCore/dom/QualifiedName.h
WebCore/dom/Range.cpp
WebCore/dom/RegisteredEventListener.cpp
WebCore/dom/StyledElement.h
WebCore/dom/Traversal.cpp
WebCore/editing/EditCommand.cpp
WebCore/history/BackForwardList.cpp
WebCore/history/CachedPage.cpp
WebCore/history/HistoryItem.cpp
WebCore/html/CanvasGradient.cpp
WebCore/html/CanvasPattern.cpp
WebCore/html/CanvasRenderingContext2D.cpp
WebCore/html/CanvasStyle.cpp
WebCore/html/HTMLCollection.cpp
WebCore/html/MediaError.h
WebCore/html/TimeRanges.cpp
WebCore/html/TimeRanges.h
WebCore/html/VoidCallback.h
WebCore/loader/DocumentLoader.cpp
WebCore/loader/FormState.cpp
WebCore/loader/ResourceLoader.cpp
WebCore/loader/TextResourceDecoder.cpp
WebCore/loader/icon/IconRecord.cpp
WebCore/page/BarInfo.cpp
WebCore/page/Console.cpp
WebCore/page/DOMSelection.cpp
WebCore/page/DOMWindow.cpp
WebCore/page/Frame.cpp
WebCore/page/History.cpp
WebCore/page/InspectorController.cpp
WebCore/page/Plugin.h
WebCore/page/Screen.cpp
WebCore/platform/ArrayImpl.cpp
WebCore/platform/DeprecatedValueListImpl.cpp
WebCore/platform/ScrollBar.cpp
WebCore/platform/SharedBuffer.cpp
WebCore/platform/graphics/FontFallbackList.cpp
WebCore/platform/graphics/FontFamily.cpp
WebCore/platform/graphics/FontFamily.h
WebCore/platform/graphics/FontSelector.h
WebCore/platform/graphics/GlyphPageTreeNode.h
WebCore/platform/graphics/mac/IconMac.mm
WebCore/platform/mac/FileChooserMac.mm
WebCore/platform/mac/PopupMenuMac.mm
WebCore/platform/mac/SharedBufferMac.mm
WebCore/platform/network/FormData.cpp
WebCore/platform/network/FormData.h
WebCore/platform/network/ResourceHandle.cpp
WebCore/platform/text/CString.h
WebCore/platform/text/RegularExpression.cpp
WebCore/rendering/RenderStyle.cpp
WebCore/rendering/RenderStyle.h
WebCore/rendering/SVGCharacterLayoutInfo.h
WebCore/rendering/SVGRenderStyle.cpp
WebCore/rendering/SVGRenderStyle.h
WebCore/rendering/SVGRenderStyleDefs.cpp
WebCore/storage/SQLResultSetRowList.h
WebCore/svg/SVGAngle.cpp
WebCore/svg/SVGAnimatedTemplate.h
WebCore/svg/SVGElementInstanceList.cpp
WebCore/svg/SVGList.h
WebCore/svg/SVGPathSeg.h
WebCore/svg/SVGPreserveAspectRatio.cpp
WebCore/svg/SVGRenderingIntent.h
WebCore/svg/SVGUnitTypes.h
WebCore/svg/graphics/SVGPaintServerGradient.h
WebCore/svg/graphics/SVGResource.cpp
WebCore/xml/DOMParser.h
WebCore/xml/XMLHttpRequest.cpp
WebCore/xml/XMLSerializer.h
WebCore/xml/XPathEvaluator.h
WebCore/xml/XPathExpression.h
WebCore/xml/XPathNSResolver.h
WebCore/xml/XPathResult.cpp
WebCore/xml/XPathValue.h
WebCore/xml/XSLTProcessor.h