1. 15 Oct, 2012 1 commit
  2. 25 Sep, 2012 1 commit
    • loislo@chromium.org's avatar
      Web Inspector: extract Vector instrumentation from core NMI code into... · 83736930
      loislo@chromium.org authored
      Web Inspector: extract Vector instrumentation from core NMI code into MemoryInstrumentationVector.h header.
      https://bugs.webkit.org/show_bug.cgi?id=96650
      
      Reviewed by Vsevolod Vlasov.
      
      Source/WebCore:
      
      addInstrumentedVector and addInstrumentedVectorPtr were replaced with addMember.
      The same thing happens with addVector and addVectorPtr.
      
      * css/CSSGradientValue.cpp:
      (WebCore::CSSGradientValue::reportBaseClassMemoryUsage):
      * css/CSSImageSetValue.cpp:
      (WebCore::CSSImageSetValue::reportDescendantMemoryUsage):
      * css/CSSMediaRule.cpp:
      (WebCore::CSSMediaRule::reportDescendantMemoryUsage):
      * css/CSSRuleList.cpp:
      (WebCore::StaticCSSRuleList::reportMemoryUsage):
      * css/CSSStyleSheet.cpp:
      (WebCore::CSSStyleSheet::reportMemoryUsage):
      * css/CSSValueList.cpp:
      (WebCore::CSSValueList::reportDescendantMemoryUsage):
      * css/MediaList.cpp:
      (WebCore::MediaQuerySet::reportMemoryUsage):
      * css/MediaQuery.cpp:
      (WebCore::MediaQuery::reportMemoryUsage):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleRule.cpp:
      (WebCore::StyleRuleBlock::reportDescendantMemoryUsage):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::reportMemoryUsage):
      * css/WebKitCSSKeyframesRule.cpp:
      (WebCore::StyleRuleKeyframes::reportDescendantMemoryUsage):
      (WebCore::WebKitCSSKeyframesRule::reportDescendantMemoryUsage):
      * css/WebKitCSSRegionRule.cpp:
      (WebCore::WebKitCSSRegionRule::reportDescendantMemoryUsage):
      * dom/Document.cpp:
      (WebCore::Document::reportMemoryUsage):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::reportMemoryUsage):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::reportMemoryUsage):
      
      Source/WebKit/chromium:
      
      Test for instrumented vector.
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::InstrumentedOwner::InstrumentedOwner):
      (WebCore::TEST):
      (WebCore):
      
      Source/WTF:
      
      Added reportMemoryUsage free template function with default body to core NMI code
      and add custom version of reportMemoryUsage function for Vectors.
      
      * GNUmakefile.list.am:
      * WTF.gypi:
      * WTF.pro:
      * WTF.vcproj/WTF.vcproj:
      * WTF.xcodeproj/project.pbxproj:
      * wtf/MemoryInstrumentation.h:
      (WTF):
      (MemoryInstrumentation):
      (WTF::MemoryInstrumentation::addObjectImpl):
      * wtf/MemoryInstrumentationVector.h: Added.
      (WTF):
      (WTF::instrumentVectorValues):
      (WTF::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83736930
  3. 13 Sep, 2012 1 commit
    • loislo@chromium.org's avatar
      Web Inspector: NMI: remove the dependency of platform sources from WebCore... · 5e218c9f
      loislo@chromium.org authored
      Web Inspector: NMI: remove the dependency of platform sources from WebCore header introduced by NMI instrumentation.
      https://bugs.webkit.org/show_bug.cgi?id=96367
      
      Reviewed by Yury Semikhatsky.
      
      the target is to move 'platform' specific instrumentation code
      from WebCoreMemoryInstrumentation into the new PlatformMemoryInstrumentation.
      
      Drive by fix: New type DOM.Image was introduced.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/WebCoreMemoryInstrumentation.cpp:
      (WebCore):
      * dom/WebCoreMemoryInstrumentation.h:
      (WebCoreMemoryTypes):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * platform/KURL.cpp:
      * platform/KURLGoogle.cpp:
      * platform/PlatformMemoryInstrumentation.cpp: Copied from Source/WebCore/platform/graphics/GeneratedImage.cpp.
      (WebCore):
      * platform/PlatformMemoryInstrumentation.h: Copied from Source/WebCore/platform/graphics/GeneratedImage.cpp.
      (WebCore):
      (PlatformMemoryTypes):
      * platform/SharedBuffer.cpp:
      * platform/TreeShared.h:
      (WebCore::TreeShared::reportMemoryUsage):
      * platform/graphics/BitmapImage.cpp:
      (WebCore::BitmapImage::reportMemoryUsage):
      * platform/graphics/CrossfadeGeneratedImage.cpp:
      (WebCore::CrossfadeGeneratedImage::reportMemoryUsage):
      * platform/graphics/GeneratedImage.cpp:
      (WebCore::GeneratedImage::reportMemoryUsage):
      * platform/graphics/GeneratorGeneratedImage.cpp:
      (WebCore::GeneratorGeneratedImage::reportMemoryUsage):
      * platform/graphics/GeneratorGeneratedImage.h:
      * platform/graphics/Image.cpp:
      (WebCore::Image::reportMemoryUsage):
      * platform/network/FormData.cpp:
      (WebCore::FormData::reportMemoryUsage):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::reportMemoryUsage):
      * platform/network/ResourceResponseBase.cpp:
      (WebCore::ResourceResponseBase::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e218c9f
  4. 12 Sep, 2012 3 commits
    • loislo@chromium.org's avatar
      Web Inspector: NMI move String* instrumentation to wtf. · 0a5ff5ff
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96405
      
      Reviewed by Yury Semikhatsky.
      
      This instrumentation is solving the problem with substrings and removes traits based code which is hard to upstream.
      
      Source/WebCore:
      
      * dom/WebCoreMemoryInstrumentation.cpp:
      (WebCore):
      * dom/WebCoreMemoryInstrumentation.h:
      (WebCore):
      
      Source/WebKit/chromium:
      
      Tested by webkit_unit_tests.
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::TEST):
      
      Source/WTF:
      
      Tested by webkit_unit_tests.
      
      * wtf/text/AtomicString.h:
      (AtomicString):
      (WTF::AtomicString::reportMemoryUsage):
      * wtf/text/StringImpl.h:
      (StringImpl):
      (WTF::StringImpl::reportMemoryUsage):
      * wtf/text/WTFString.h:
      (String):
      (WTF::String::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a5ff5ff
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r128279. · 723582a3
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/128279
      https://bugs.webkit.org/show_bug.cgi?id=96487
      
      "Snow Leopard compilation broken" (Requested by yurys on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-12
      
      Source/WebCore:
      
      * dom/WebCoreMemoryInstrumentation.cpp:
      (WebCore):
      (WebCore::String):
      (WebCore::StringImpl):
      (WebCore::AtomicString):
      * dom/WebCoreMemoryInstrumentation.h:
      (WebCore):
      * inspector/MemoryInstrumentationImpl.cpp:
      (WebCore::MemoryInstrumentationImpl::countObjectSize):
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::reportMemoryUsage):
      
      Source/WebKit/chromium:
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::InstrumentedUndefined::reportMemoryUsage):
      (WebCore::TEST):
      
      Source/WTF:
      
      * wtf/MemoryInstrumentation.h:
      (GenericMemoryTypes):
      (WebCore):
      (WebCore::MemoryInstrumentation::addRootObject):
      (WebCore::MemoryObjectInfo::reportObjectInfo):
      (WebCore::MemoryClassInfo::MemoryClassInfo):
      * wtf/text/AtomicString.h:
      (AtomicString):
      * wtf/text/StringImpl.h:
      * wtf/text/WTFString.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      723582a3
    • loislo@chromium.org's avatar
      Web Inspector: NMI move String* instrumentation to wtf. · 88541ee3
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96405
      
      Reviewed by Yury Semikhatsky.
      
      This instrumentation is solving the problem with substrings and removes traits based code which is hard to upstream.
      
      Source/WebCore:
      
      * dom/WebCoreMemoryInstrumentation.cpp:
      (WebCore):
      * dom/WebCoreMemoryInstrumentation.h:
      (WebCore):
      
      * dom/WebCoreMemoryInstrumentation.cpp:
      (WebCore):
      * dom/WebCoreMemoryInstrumentation.h:
      (WebCore):
      * inspector/MemoryInstrumentationImpl.cpp:
      (WebCore::MemoryInstrumentationImpl::countObjectSize):
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::reportMemoryUsage):
      
      Source/WebKit/chromium:
      
      Tested by webkit_unit_tests.
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::InstrumentedUndefined::reportMemoryUsage):
      (WebCore::TEST):
      
      Source/WTF:
      
      Tested by webkit_unit_tests.
      
      * wtf/MemoryInstrumentation.h:
      (WebCore):
      (WebCore::MemoryInstrumentation::addRootObject):
      (WebCore::MemoryObjectInfo::reportObjectInfo):
      (WebCore::MemoryClassInfo::MemoryClassInfo):
      * wtf/text/AtomicString.h:
      (AtomicString):
      (WTF::AtomicString::reportMemoryUsage):
      * wtf/text/StringImpl.h:
      (StringImpl):
      (WTF::StringImpl::reportMemoryUsage):
      * wtf/text/WTFString.h:
      (String):
      (WTF::String::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88541ee3
  5. 07 Sep, 2012 1 commit
    • loislo@chromium.org's avatar
      Web Inspector: NMI: move WebCore specific code to separate header · c4389129
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96101
      
      Reviewed by Yury Semikhatsky.
      
      I extracted WebCore related code from MemoryInstrumentation.h to WebCoreMemoryInstrumentation.h
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/ScriptWrappable.h:
      * bindings/v8/DOMDataStore.cpp:
      * bindings/v8/IntrusiveDOMWrapperMap.h:
      * bindings/v8/ScriptProfiler.cpp:
      * bindings/v8/ScriptWrappable.h:
      * bindings/v8/V8Binding.cpp:
      * bindings/v8/V8DOMMap.h:
      * css/CSSAspectRatioValue.cpp:
      * css/CSSBorderImageSliceValue.cpp:
      * css/CSSCalculationValue.cpp:
      * css/CSSCanvasValue.cpp:
      * css/CSSCharsetRule.cpp:
      * css/CSSComputedStyleDeclaration.cpp:
      * css/CSSCrossfadeValue.cpp:
      * css/CSSCursorImageValue.cpp:
      * css/CSSFontFaceRule.cpp:
      * css/CSSFontFaceSrcValue.cpp:
      * css/CSSFunctionValue.cpp:
      * css/CSSGradientValue.cpp:
      * css/CSSImageGeneratorValue.cpp:
      * css/CSSImageSetValue.cpp:
      * css/CSSImageValue.cpp:
      * css/CSSImportRule.cpp:
      * css/CSSInheritedValue.cpp:
      * css/CSSInitialValue.cpp:
      * css/CSSLineBoxContainValue.cpp:
      * css/CSSMediaRule.cpp:
      * css/CSSPrimitiveValue.cpp:
      * css/CSSProperty.cpp:
      * css/CSSReflectValue.cpp:
      * css/CSSRuleList.h:
      * css/CSSSelectorList.cpp:
      * css/CSSStyleRule.cpp:
      * css/CSSStyleSheet.cpp:
      * css/CSSTimingFunctionValue.cpp:
      * css/CSSUnicodeRangeValue.cpp:
      * css/CSSUnknownRule.h:
      * css/CSSValue.cpp:
      * css/CSSValueList.cpp:
      * css/CSSVariableValue.h:
      * css/FontFeatureValue.cpp:
      * css/FontValue.cpp:
      * css/MediaList.cpp:
      * css/MediaQuery.cpp:
      * css/MediaQueryExp.cpp:
      * css/PropertySetCSSStyleDeclaration.cpp:
      * css/ShadowValue.cpp:
      * css/StyleResolver.cpp:
      * css/StyleRule.cpp:
      * css/StyleSheetContents.cpp:
      * css/WebKitCSSArrayFunctionValue.cpp:
      * css/WebKitCSSFilterValue.cpp:
      * css/WebKitCSSKeyframeRule.cpp:
      * css/WebKitCSSKeyframesRule.cpp:
      * css/WebKitCSSMixFunctionValue.cpp:
      * css/WebKitCSSSVGDocumentValue.cpp:
      * css/WebKitCSSShaderValue.cpp:
      * css/WebKitCSSTransformValue.cpp:
      * dom/CharacterData.cpp:
      * dom/Document.cpp:
      * dom/DocumentEventQueue.cpp:
      * dom/ElementAttributeData.cpp:
      * dom/Event.cpp:
      * dom/MemoryInstrumentation.h:
      * dom/Node.cpp:
      * dom/QualifiedName.h:
      * dom/WebCoreMemoryInstrumentation.cpp: Renamed from Source/WebCore/dom/MemoryInstrumentation.cpp.
      (WebCore):
      (WebCore::String):
      (WebCore::StringImpl):
      (WebCore::KURL):
      (WebCore::AtomicString):
      * dom/WebCoreMemoryInstrumentation.h: Added.
      (WebCore):
      (WebCoreMemoryTypes):
      * loader/DocumentLoader.cpp:
      * loader/FrameLoader.cpp:
      * loader/SubresourceLoader.cpp:
      * loader/SubstituteData.cpp:
      * loader/cache/CachedCSSStyleSheet.cpp:
      * loader/cache/CachedFont.cpp:
      * loader/cache/CachedRawResource.cpp:
      * loader/cache/CachedResource.cpp:
      * loader/cache/CachedResourceHandle.cpp:
      * loader/cache/CachedScript.cpp:
      * loader/cache/CachedShader.cpp:
      * loader/cache/CachedXSLStyleSheet.cpp:
      * loader/cache/MemoryCache.cpp:
      * platform/SharedBuffer.cpp:
      * platform/graphics/BitmapImage.cpp:
      * platform/graphics/CrossfadeGeneratedImage.cpp:
      * platform/graphics/GeneratedImage.cpp:
      * platform/graphics/GeneratorGeneratedImage.h:
      * platform/graphics/Image.cpp:
      * platform/network/FormData.cpp:
      * platform/network/ResourceRequestBase.cpp:
      * platform/network/ResourceResponseBase.cpp:
      * rendering/style/RenderStyle.cpp:
      * rendering/style/StyleRareInheritedData.cpp:
      * rendering/style/StyleRareNonInheritedData.cpp:
      * svg/SVGColor.cpp:
      * svg/SVGPaint.cpp:
      
      Source/WebKit/chromium:
      
      * tests/MemoryInstrumentationTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4389129
  6. 06 Sep, 2012 1 commit
    • loislo@chromium.org's avatar
      Web Inspector: NMI: switch to hierarchical identifiers of MemoryBlockTypes and... · 2a98856e
      loislo@chromium.org authored
      Web Inspector: NMI: switch to hierarchical identifiers of MemoryBlockTypes and use these identifiers in protocol.
      https://bugs.webkit.org/show_bug.cgi?id=95957
      
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      Now when we use string identifiers as MemoryObjectType we can use them as the identifiers for the protocol
      instead of MemoryBlockNames hardcoded in InspectorMemoryAgent..
      At a later stage, when each type of memory will be counted in MemoryInstrumentation
      we will build the blocks hierarchy for the front-end automatically.
      
      * dom/MemoryInstrumentation.cpp:
      (WebCore):
      * dom/MemoryInstrumentation.h:
      (GenericMemoryTypes):
      (WebCore::MemoryInstrumentation::addRootObject):
      (WebCore::MemoryObjectInfo::reportObjectInfo):
      (WebCoreMemoryTypes):
      * inspector/InspectorMemoryAgent.cpp:
      (MemoryBlockName):
      (WebCore):
      * inspector/MemoryInstrumentationImpl.cpp:
      (WebCore::MemoryInstrumentationImpl::countObjectSize):
      * inspector/front-end/NativeMemorySnapshotView.js:
      (WebInspector.MemoryBlockViewProperties._initialize):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::reportMemoryUsage):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::reportMemoryUsage):
      * loader/cache/CachedResourceHandle.cpp:
      (WebCore::CachedResourceHandleBase::reportMemoryUsage):
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::reportMemoryUsage):
      
      Source/WebKit/chromium:
      
      Now when we use string identifiers as MemoryObjectType we can use them as the identifiers for the protocol
      instead of MemoryBlockNames hardcoded in InspectorMemoryAgent..
      At a later stage, when each memory type is counted in MemoryInstrumentation
      we will build the blocks hierarchy for the front-end automatically.
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::InstrumentedUndefined::InstrumentedUndefined):
      (WebCore::InstrumentedUndefined::reportMemoryUsage):
      (WebCore::InstrumentedDOM::InstrumentedDOM):
      (WebCore::InstrumentedDOM::reportMemoryUsage):
      (InstrumentedDOM):
      (WebCore::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a98856e
  7. 05 Sep, 2012 1 commit
    • loislo@chromium.org's avatar
      Web Inspector: NMI: extract MemoryObjectType constants from MemoryInstrumentation. · 53b3ffda
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95850
      
      Reviewed by Yury Semikhatsky.
      
      I'd like to extract MemoryObjectTypes into separate classes.
      After that we will be able to move core NMI instrumentation code to WTF.
      
      Source/WebCore:
      
      * bindings/js/ScriptWrappable.h:
      (WebCore::ScriptWrappable::reportMemoryUsage):
      * bindings/v8/DOMDataStore.cpp:
      (WebCore::DOMDataStore::reportMemoryUsage):
      * bindings/v8/IntrusiveDOMWrapperMap.h:
      (WebCore::ChunkedTable::reportMemoryUsage):
      * bindings/v8/ScriptWrappable.h:
      (WebCore::ScriptWrappable::reportMemoryUsage):
      * bindings/v8/V8Binding.cpp:
      (WebCore::StringCache::reportMemoryUsage):
      * bindings/v8/V8DOMMap.h:
      * bindings/v8/V8PerIsolateData.cpp:
      (WebCore::V8PerIsolateData::reportMemoryUsage):
      * css/CSSAspectRatioValue.cpp:
      (WebCore::CSSAspectRatioValue::reportDescendantMemoryUsage):
      * css/CSSBorderImageSliceValue.cpp:
      (WebCore::CSSBorderImageSliceValue::reportDescendantMemoryUsage):
      * css/CSSCalculationValue.cpp:
      (WebCore::CSSCalcValue::reportDescendantMemoryUsage):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::reportDescendantMemoryUsage):
      * css/CSSCharsetRule.cpp:
      (WebCore::CSSCharsetRule::reportDescendantMemoryUsage):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::CSSComputedStyleDeclaration::reportMemoryUsage):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::reportDescendantMemoryUsage):
      * css/CSSCursorImageValue.cpp:
      (WebCore::CSSCursorImageValue::reportDescendantMemoryUsage):
      * css/CSSFontFaceRule.cpp:
      (WebCore::CSSFontFaceRule::reportDescendantMemoryUsage):
      * css/CSSFontFaceSrcValue.cpp:
      (WebCore::CSSFontFaceSrcValue::reportDescendantMemoryUsage):
      * css/CSSFunctionValue.cpp:
      (WebCore::CSSFunctionValue::reportDescendantMemoryUsage):
      * css/CSSGradientValue.cpp:
      (WebCore::CSSGradientColorStop::reportMemoryUsage):
      (WebCore::CSSGradientValue::reportBaseClassMemoryUsage):
      (WebCore::CSSLinearGradientValue::reportDescendantMemoryUsage):
      (WebCore::CSSRadialGradientValue::reportDescendantMemoryUsage):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::reportBaseClassMemoryUsage):
      * css/CSSImageSetValue.cpp:
      (WebCore::CSSImageSetValue::reportDescendantMemoryUsage):
      (WebCore::CSSImageSetValue::ImageWithScale::reportMemoryUsage):
      * css/CSSImageValue.cpp:
      (WebCore::CSSImageValue::reportDescendantMemoryUsage):
      * css/CSSImportRule.cpp:
      (WebCore::CSSImportRule::reportDescendantMemoryUsage):
      * css/CSSInheritedValue.cpp:
      (WebCore::CSSInheritedValue::reportDescendantMemoryUsage):
      * css/CSSInitialValue.cpp:
      (WebCore::CSSInitialValue::reportDescendantMemoryUsage):
      * css/CSSLineBoxContainValue.cpp:
      (WebCore::CSSLineBoxContainValue::reportDescendantMemoryUsage):
      * css/CSSMediaRule.cpp:
      (WebCore::CSSMediaRule::reportDescendantMemoryUsage):
      * css/CSSPageRule.cpp:
      (WebCore::CSSPageRule::reportDescendantMemoryUsage):
      * css/CSSPrimitiveValue.cpp:
      (WebCore::CSSPrimitiveValue::reportDescendantMemoryUsage):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::reportMemoryUsage):
      * css/CSSReflectValue.cpp:
      (WebCore::CSSReflectValue::reportDescendantMemoryUsage):
      * css/CSSRule.cpp:
      (WebCore::CSSRule::reportBaseClassMemoryUsage):
      * css/CSSRuleList.cpp:
      (WebCore::StaticCSSRuleList::reportMemoryUsage):
      * css/CSSRuleList.h:
      * css/CSSSelectorList.cpp:
      (WebCore::CSSSelectorList::reportMemoryUsage):
      * css/CSSStyleRule.cpp:
      (WebCore::CSSStyleRule::reportDescendantMemoryUsage):
      * css/CSSStyleSheet.cpp:
      (WebCore::CSSStyleSheet::reportMemoryUsage):
      * css/CSSTimingFunctionValue.cpp:
      (WebCore::CSSLinearTimingFunctionValue::reportDescendantMemoryUsage):
      (WebCore::CSSCubicBezierTimingFunctionValue::reportDescendantMemoryUsage):
      (WebCore::CSSStepsTimingFunctionValue::reportDescendantMemoryUsage):
      * css/CSSUnicodeRangeValue.cpp:
      (WebCore::CSSUnicodeRangeValue::reportDescendantMemoryUsage):
      * css/CSSUnknownRule.h:
      (WebCore::CSSUnknownRule::reportDescendantMemoryUsage):
      * css/CSSValue.cpp:
      (WebCore::TextCloneCSSValue::reportDescendantMemoryUsage):
      * css/CSSValueList.cpp:
      (WebCore::CSSValueList::reportDescendantMemoryUsage):
      * css/CSSVariableValue.h:
      (WebCore::CSSVariableValue::reportDescendantMemoryUsage):
      * css/FontFeatureValue.cpp:
      (WebCore::FontFeatureValue::reportDescendantMemoryUsage):
      * css/FontValue.cpp:
      (WebCore::FontValue::reportDescendantMemoryUsage):
      * css/MediaList.cpp:
      (WebCore::MediaQuerySet::reportMemoryUsage):
      (WebCore::MediaList::reportMemoryUsage):
      * css/MediaQuery.cpp:
      (WebCore::MediaQuery::reportMemoryUsage):
      * css/MediaQueryExp.cpp:
      (WebCore::MediaQueryExp::reportMemoryUsage):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::reportMemoryUsage):
      (WebCore::StyleRuleCSSStyleDeclaration::reportMemoryUsage):
      (WebCore::InlineCSSStyleDeclaration::reportMemoryUsage):
      * css/ShadowValue.cpp:
      (WebCore::ShadowValue::reportDescendantMemoryUsage):
      * css/StylePropertySet.cpp:
      (WebCore::StylePropertySet::reportMemoryUsage):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::Features::reportMemoryUsage):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleRule.cpp:
      (WebCore::StyleRuleBase::reportMemoryUsage):
      (WebCore::StyleRule::reportDescendantMemoryUsage):
      (WebCore::StyleRulePage::reportDescendantMemoryUsage):
      (WebCore::StyleRuleFontFace::reportDescendantMemoryUsage):
      (WebCore::StyleRuleBlock::reportDescendantMemoryUsage):
      (WebCore::StyleRuleMedia::reportDescendantMemoryUsage):
      (WebCore::StyleRuleRegion::reportDescendantMemoryUsage):
      * css/StyleRuleImport.cpp:
      (WebCore::StyleRuleImport::reportDescendantMemoryUsage):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::reportMemoryUsage):
      * css/WebKitCSSFilterValue.cpp:
      (WebCore::WebKitCSSFilterValue::reportDescendantMemoryUsage):
      * css/WebKitCSSKeyframeRule.cpp:
      (WebCore::StyleKeyframe::reportMemoryUsage):
      (WebCore::WebKitCSSKeyframeRule::reportDescendantMemoryUsage):
      * css/WebKitCSSKeyframesRule.cpp:
      (WebCore::StyleRuleKeyframes::reportDescendantMemoryUsage):
      (WebCore::WebKitCSSKeyframesRule::reportDescendantMemoryUsage):
      * css/WebKitCSSMixFunctionValue.cpp:
      (WebCore::WebKitCSSMixFunctionValue::reportDescendantMemoryUsage):
      * css/WebKitCSSRegionRule.cpp:
      (WebCore::WebKitCSSRegionRule::reportDescendantMemoryUsage):
      * css/WebKitCSSSVGDocumentValue.cpp:
      (WebCore::WebKitCSSSVGDocumentValue::reportDescendantMemoryUsage):
      * css/WebKitCSSShaderValue.cpp:
      (WebCore::WebKitCSSShaderValue::reportDescendantMemoryUsage):
      * css/WebKitCSSTransformValue.cpp:
      (WebCore::WebKitCSSTransformValue::reportDescendantMemoryUsage):
      * dom/Attribute.h:
      (WebCore::Attribute::reportMemoryUsage):
      * dom/CharacterData.cpp:
      (WebCore::CharacterData::reportMemoryUsage):
      * dom/ContainerNode.h:
      (WebCore::ContainerNode::reportMemoryUsage):
      * dom/Document.cpp:
      (WebCore::Document::reportMemoryUsage):
      * dom/DocumentEventQueue.cpp:
      (WebCore::DocumentEventQueue::reportMemoryUsage):
      * dom/Element.h:
      (WebCore::Element::reportMemoryUsage):
      * dom/ElementAttributeData.cpp:
      (WebCore::ElementAttributeData::reportMemoryUsage):
      * dom/Event.cpp:
      (WebCore::Event::reportMemoryUsage):
      * dom/MemoryInstrumentation.cpp:
      (WebCore):
      * dom/MemoryInstrumentation.h:
      (WebCore):
      (GenericMemoryTypes):
      (WebCore::MemoryInstrumentation::addRootObject):
      (WebCore::MemoryObjectInfo::reportObjectInfo):
      (WebCoreMemoryTypes):
      * dom/Node.cpp:
      (WebCore::Node::reportMemoryUsage):
      * dom/QualifiedName.h:
      (WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):
      (WebCore::QualifiedName::reportMemoryUsage):
      * html/HTMLImageElement.cpp:
      (WebCore::HTMLImageElement::reportMemoryUsage):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::reportMemoryUsage):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::reportMemoryUsage):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::reportMemoryUsage):
      * loader/ResourceLoader.cpp:
      (WebCore::ResourceLoader::reportMemoryUsage):
      * loader/SubresourceLoader.cpp:
      (WebCore::SubresourceLoader::reportMemoryUsage):
      * loader/SubstituteData.cpp:
      (WebCore::SubstituteData::reportMemoryUsage):
      * loader/cache/CachedCSSStyleSheet.cpp:
      (WebCore::CachedCSSStyleSheet::reportMemoryUsage):
      * loader/cache/CachedFont.cpp:
      (WebCore::CachedFont::reportMemoryUsage):
      * loader/cache/CachedImage.cpp:
      (WebCore::CachedImage::reportMemoryUsage):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::reportMemoryUsage):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::reportMemoryUsage):
      * loader/cache/CachedResourceHandle.cpp:
      (WebCore::CachedResourceHandleBase::reportMemoryUsage):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::reportMemoryUsage):
      * loader/cache/CachedSVGDocument.cpp:
      (WebCore::CachedSVGDocument::reportMemoryUsage):
      * loader/cache/CachedScript.cpp:
      (WebCore::CachedScript::reportMemoryUsage):
      * loader/cache/CachedShader.cpp:
      (WebCore::CachedShader::reportMemoryUsage):
      * loader/cache/CachedXSLStyleSheet.cpp:
      (WebCore::CachedXSLStyleSheet::reportMemoryUsage):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::reportMemoryUsage):
      * page/Frame.cpp:
      (WebCore::Frame::reportMemoryUsage):
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::reportMemoryUsage):
      * platform/TreeShared.h:
      (WebCore::TreeShared::reportMemoryUsage):
      * platform/graphics/BitmapImage.cpp:
      (WebCore::BitmapImage::reportMemoryUsage):
      * platform/graphics/CrossfadeGeneratedImage.cpp:
      (WebCore::CrossfadeGeneratedImage::reportMemoryUsage):
      * platform/graphics/GeneratedImage.cpp:
      (WebCore::GeneratedImage::reportMemoryUsage):
      * platform/graphics/GeneratorGeneratedImage.cpp:
      (WebCore::GeneratorGeneratedImage::reportMemoryUsage):
      * platform/graphics/Image.cpp:
      (WebCore::Image::reportMemoryUsage):
      * platform/network/FormData.cpp:
      (WebCore::FormData::reportMemoryUsage):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::reportMemoryUsage):
      * platform/network/ResourceResponseBase.cpp:
      (WebCore::ResourceResponseBase::reportMemoryUsage):
      * rendering/style/RenderStyle.cpp:
      (WebCore::RenderStyle::reportMemoryUsage):
      * rendering/style/StyleRareInheritedData.cpp:
      (WebCore::StyleRareInheritedData::reportMemoryUsage):
      * rendering/style/StyleRareNonInheritedData.cpp:
      (WebCore::StyleRareNonInheritedData::reportMemoryUsage):
      * svg/SVGColor.cpp:
      (WebCore::SVGColor::reportDescendantMemoryUsage):
      * svg/SVGPaint.cpp:
      (WebCore::SVGPaint::reportDescendantMemoryUsage):
      * svg/graphics/SVGImage.cpp:
      (WebCore::SVGImage::reportMemoryUsage):
      
      Source/WebKit/chromium:
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::Instrumented::reportMemoryUsage):
      (WebCore::InstrumentedRefPtr::reportMemoryUsage):
      (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
      (WebCore::InstrumentedOther::reportMemoryUsage):
      (WebCore::InstrumentedDOM::reportMemoryUsage):
      (WebCore::TEST):
      (WebCore::NonVirtualInstrumented::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53b3ffda
  8. 04 Sep, 2012 1 commit
    • weinig@apple.com's avatar
      Part 1 of removing PlatformString.h, move remaining functions to new homes · aa390c30
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95702
      
      Reviewed by Beth Dakin.
      
      Source/WebCore:
      
      Move utf8Buffer() to SharedBuffer.h/cpp
      Move numGraphemeClusters() and numCharactersInGraphemeClusters() to TextBreakIterator.h/cpp
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      Update projects.
      
      * platform/text/TextAllInOne.cpp:
      Add TextBreakIterator.cpp.
      
      * editing/Editor.h:
      Forward declare SharedBuffer, now that PlatformString.h doesn't.
      
      * html/InputType.cpp:
      #include TextBreakIterator.h.
      
      * loader/appcache/ApplicationCacheStorage.h:
      Replace inclusion of PlatformString.h with WTFString.h and forward declare SharedBuffer.
      
      * platform/LocalizedStrings.cpp:
      Replace inclusion of PlatformString.h with TextBreakIterator.h
      
      * platform/SharedBuffer.cpp:
      * platform/SharedBuffer.h:
      Move utf8Buffer() here.
      
      * platform/text/PlatformString.h:
      Remove everything except the #include of WTFString.h.
      
      * platform/text/TextBreakIterator.cpp: Renamed from Source/WebCore/platform/text/String.cpp.
      (WebCore::numGraphemeClusters):
      (WebCore::numCharactersInGraphemeClusters):
      * platform/text/TextBreakIterator.h:
      Move numGraphemeClusters() and numCharactersInGraphemeClusters() here.
      
      Source/WebKit2:
      
      * UIProcess/WebPageProxy.h:
      Forward declare SharedBuffer.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa390c30
  9. 07 Aug, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Web Inspector: make the MemoryClassInfo class a not-template · edc05227
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=93265
      
      Patch by Alexei Filippov <alexeif@chromium.org> on 2012-08-07
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      * bindings/js/ScriptWrappable.h:
      (WebCore::ScriptWrappable::reportMemoryUsage):
      * bindings/v8/DOMDataStore.cpp:
      (WebCore::DOMDataStore::reportMemoryUsage):
      * bindings/v8/IntrusiveDOMWrapperMap.h:
      (WebCore::ChunkedTable::reportMemoryUsage):
      * bindings/v8/ScriptWrappable.h:
      (WebCore::ScriptWrappable::reportMemoryUsage):
      * bindings/v8/V8Binding.cpp:
      (WebCore::V8BindingPerIsolateData::reportMemoryUsage):
      (WebCore::StringCache::reportMemoryUsage):
      * bindings/v8/V8DOMMap.h:
      * css/CSSAspectRatioValue.cpp:
      (WebCore::CSSAspectRatioValue::reportDescendantMemoryUsage):
      * css/CSSBorderImageSliceValue.cpp:
      (WebCore::CSSBorderImageSliceValue::reportDescendantMemoryUsage):
      * css/CSSCalculationValue.cpp:
      (WebCore::CSSCalcValue::reportDescendantMemoryUsage):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::reportDescendantMemoryUsage):
      * css/CSSCharsetRule.cpp:
      (WebCore::CSSCharsetRule::reportDescendantMemoryUsage):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::CSSComputedStyleDeclaration::reportMemoryUsage):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::reportDescendantMemoryUsage):
      * css/CSSCursorImageValue.cpp:
      (WebCore::CSSCursorImageValue::reportDescendantMemoryUsage):
      * css/CSSFontFaceRule.cpp:
      (WebCore::CSSFontFaceRule::reportDescendantMemoryUsage):
      * css/CSSFontFaceSrcValue.cpp:
      (WebCore::CSSFontFaceSrcValue::reportDescendantMemoryUsage):
      * css/CSSFunctionValue.cpp:
      (WebCore::CSSFunctionValue::reportDescendantMemoryUsage):
      * css/CSSGradientValue.cpp:
      (WebCore::CSSGradientColorStop::reportMemoryUsage):
      (WebCore::CSSGradientValue::reportBaseClassMemoryUsage):
      (WebCore::CSSLinearGradientValue::reportDescendantMemoryUsage):
      (WebCore::CSSRadialGradientValue::reportDescendantMemoryUsage):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::reportBaseClassMemoryUsage):
      * css/CSSImageSetValue.cpp:
      (WebCore::CSSImageSetValue::reportDescendantMemoryUsage):
      (WebCore::CSSImageSetValue::ImageWithScale::reportMemoryUsage):
      * css/CSSImageValue.cpp:
      (WebCore::CSSImageValue::reportDescendantMemoryUsage):
      * css/CSSImportRule.cpp:
      (WebCore::CSSImportRule::reportDescendantMemoryUsage):
      * css/CSSInheritedValue.cpp:
      (WebCore::CSSInheritedValue::reportDescendantMemoryUsage):
      * css/CSSInitialValue.cpp:
      (WebCore::CSSInitialValue::reportDescendantMemoryUsage):
      * css/CSSLineBoxContainValue.cpp:
      (WebCore::CSSLineBoxContainValue::reportDescendantMemoryUsage):
      * css/CSSMediaRule.cpp:
      (WebCore::CSSMediaRule::reportDescendantMemoryUsage):
      * css/CSSPageRule.cpp:
      (WebCore::CSSPageRule::reportDescendantMemoryUsage):
      * css/CSSPrimitiveValue.cpp:
      (WebCore::CSSPrimitiveValue::reportDescendantMemoryUsage):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::reportMemoryUsage):
      * css/CSSReflectValue.cpp:
      (WebCore::CSSReflectValue::reportDescendantMemoryUsage):
      * css/CSSRule.cpp:
      (WebCore::CSSRule::reportBaseClassMemoryUsage):
      * css/CSSRuleList.cpp:
      (WebCore::StaticCSSRuleList::reportMemoryUsage):
      * css/CSSRuleList.h:
      * css/CSSSelectorList.cpp:
      (WebCore::CSSSelectorList::reportMemoryUsage):
      * css/CSSStyleRule.cpp:
      (WebCore::CSSStyleRule::reportDescendantMemoryUsage):
      * css/CSSStyleSheet.cpp:
      (WebCore::CSSStyleSheet::reportMemoryUsage):
      * css/CSSTimingFunctionValue.cpp:
      (WebCore::CSSLinearTimingFunctionValue::reportDescendantMemoryUsage):
      (WebCore::CSSCubicBezierTimingFunctionValue::reportDescendantMemoryUsage):
      (WebCore::CSSStepsTimingFunctionValue::reportDescendantMemoryUsage):
      * css/CSSUnicodeRangeValue.cpp:
      (WebCore::CSSUnicodeRangeValue::reportDescendantMemoryUsage):
      * css/CSSUnknownRule.h:
      (WebCore::CSSUnknownRule::reportDescendantMemoryUsage):
      * css/CSSValue.cpp:
      (WebCore::TextCloneCSSValue::reportDescendantMemoryUsage):
      * css/CSSValueList.cpp:
      (WebCore::CSSValueList::reportDescendantMemoryUsage):
      * css/CSSVariableValue.h:
      (WebCore::CSSVariableValue::reportDescendantMemoryUsage):
      * css/FontFeatureValue.cpp:
      (WebCore::FontFeatureValue::reportDescendantMemoryUsage):
      * css/FontValue.cpp:
      (WebCore::FontValue::reportDescendantMemoryUsage):
      * css/MediaList.cpp:
      (WebCore::MediaQuerySet::reportMemoryUsage):
      (WebCore::MediaList::reportMemoryUsage):
      * css/MediaQuery.cpp:
      (WebCore::MediaQuery::reportMemoryUsage):
      * css/MediaQueryExp.cpp:
      (WebCore::MediaQueryExp::reportMemoryUsage):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::reportMemoryUsage):
      (WebCore::StyleRuleCSSStyleDeclaration::reportMemoryUsage):
      (WebCore::InlineCSSStyleDeclaration::reportMemoryUsage):
      * css/ShadowValue.cpp:
      (WebCore::ShadowValue::reportDescendantMemoryUsage):
      * css/StylePropertySet.cpp:
      (WebCore::StylePropertySet::reportMemoryUsage):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::Features::reportMemoryUsage):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleRule.cpp:
      (WebCore::StyleRuleBase::reportMemoryUsage):
      (WebCore::StyleRule::reportDescendantMemoryUsage):
      (WebCore::StyleRulePage::reportDescendantMemoryUsage):
      (WebCore::StyleRuleFontFace::reportDescendantMemoryUsage):
      (WebCore::StyleRuleBlock::reportDescendantMemoryUsage):
      (WebCore::StyleRuleMedia::reportDescendantMemoryUsage):
      (WebCore::StyleRuleRegion::reportDescendantMemoryUsage):
      * css/StyleRuleImport.cpp:
      (WebCore::StyleRuleImport::reportDescendantMemoryUsage):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::reportMemoryUsage):
      * css/WebKitCSSFilterValue.cpp:
      (WebCore::WebKitCSSFilterValue::reportDescendantMemoryUsage):
      * css/WebKitCSSKeyframeRule.cpp:
      (WebCore::StyleKeyframe::reportMemoryUsage):
      (WebCore::WebKitCSSKeyframeRule::reportDescendantMemoryUsage):
      * css/WebKitCSSKeyframesRule.cpp:
      (WebCore::StyleRuleKeyframes::reportDescendantMemoryUsage):
      (WebCore::WebKitCSSKeyframesRule::reportDescendantMemoryUsage):
      * css/WebKitCSSMixFunctionValue.cpp:
      (WebCore::WebKitCSSMixFunctionValue::reportDescendantMemoryUsage):
      * css/WebKitCSSRegionRule.cpp:
      (WebCore::WebKitCSSRegionRule::reportDescendantMemoryUsage):
      * css/WebKitCSSSVGDocumentValue.cpp:
      (WebCore::WebKitCSSSVGDocumentValue::reportDescendantMemoryUsage):
      * css/WebKitCSSShaderValue.cpp:
      (WebCore::WebKitCSSShaderValue::reportDescendantMemoryUsage):
      * css/WebKitCSSTransformValue.cpp:
      (WebCore::WebKitCSSTransformValue::reportDescendantMemoryUsage):
      * dom/CharacterData.cpp:
      (WebCore::CharacterData::reportMemoryUsage):
      * dom/ContainerNode.h:
      (WebCore::ContainerNode::reportMemoryUsage):
      * dom/Document.cpp:
      (WebCore::Document::reportMemoryUsage):
      * dom/Element.h:
      (WebCore::Element::reportMemoryUsage):
      * dom/ElementAttributeData.cpp:
      (WebCore::ElementAttributeData::reportMemoryUsage):
      * dom/MemoryInstrumentation.h:
      (MemoryInstrumentation):
      (MemoryObjectInfo):
      (WebCore::MemoryObjectInfo::reportObjectInfo):
      (MemoryClassInfo):
      (WebCore::MemoryClassInfo::MemoryClassInfo):
      * dom/Node.cpp:
      (WebCore::Node::reportMemoryUsage):
      * dom/QualifiedName.h:
      (WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):
      (WebCore::QualifiedName::reportMemoryUsage):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::reportMemoryUsage):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::reportMemoryUsage):
      * loader/ResourceLoader.cpp:
      (WebCore::ResourceLoader::reportMemoryUsage):
      * loader/cache/CachedCSSStyleSheet.cpp:
      (WebCore::CachedCSSStyleSheet::reportMemoryUsage):
      * loader/cache/CachedFont.cpp:
      (WebCore::CachedFont::reportMemoryUsage):
      * loader/cache/CachedImage.cpp:
      (WebCore::CachedImage::reportMemoryUsage):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::reportMemoryUsage):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::reportMemoryUsage):
      * loader/cache/CachedResourceHandle.cpp:
      (WebCore::CachedResourceHandleBase::reportMemoryUsage):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::reportMemoryUsage):
      * loader/cache/CachedSVGDocument.cpp:
      (WebCore::CachedSVGDocument::reportMemoryUsage):
      * loader/cache/CachedScript.cpp:
      (WebCore::CachedScript::reportMemoryUsage):
      * loader/cache/CachedShader.cpp:
      (WebCore::CachedShader::reportMemoryUsage):
      * loader/cache/CachedXSLStyleSheet.cpp:
      (WebCore::CachedXSLStyleSheet::reportMemoryUsage):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::reportMemoryUsage):
      * page/Frame.cpp:
      (WebCore::Frame::reportMemoryUsage):
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::reportMemoryUsage):
      * platform/TreeShared.h:
      (WebCore::TreeShared::reportMemoryUsage):
      * rendering/style/RenderStyle.cpp:
      (WebCore::RenderStyle::reportMemoryUsage):
      * rendering/style/StyleRareInheritedData.cpp:
      (WebCore::StyleRareInheritedData::reportMemoryUsage):
      * rendering/style/StyleRareNonInheritedData.cpp:
      (WebCore::StyleRareNonInheritedData::reportMemoryUsage):
      * svg/SVGColor.cpp:
      (WebCore::SVGColor::reportDescendantMemoryUsage):
      * svg/SVGPaint.cpp:
      (WebCore::SVGPaint::reportDescendantMemoryUsage):
      
      Source/WebKit/chromium:
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::Instrumented::reportMemoryUsage):
      (WebCore::InstrumentedRefPtr::reportMemoryUsage):
      (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
      (WebCore::InstrumentedOther::reportMemoryUsage):
      (WebCore::InstrumentedDOM::reportMemoryUsage):
      (WebCore::NonVirtualInstrumented::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edc05227
  10. 18 Jul, 2012 1 commit
    • loislo@chromium.org's avatar
      Web Inspector: show loaders memory consumption on the memory chart. · 7f79cf8e
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90686
      
      Reviewed by Pavel Feldman.
      
      Size of FrameLoader, DocumentLoader, ResourceLoader and their resources should be shown on the memory pie chart.
      
      It is covered by existing WebInspector performance tests infrastructure.
      
      * WebCore.exp.in:
      * dom/MemoryInstrumentation.h:
      (MemoryInstrumentation):
      (WebCore::MemoryInstrumentation::addRawBuffer):
      (WebCore::MemoryInstrumentation::addInstrumentedMemberImpl):
      (WebCore):
      (WebCore::MemoryClassInfo::addInstrumentedHashSet):
      (WebCore::MemoryClassInfo::addRawBuffer):
      (WebCore::MemoryInstrumentation::addInstrumentedHashSet):
      (WebCore::MemoryInstrumentation::addVector):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      (WebCore::domTreeInfo):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::reportMemoryUsage):
      (WebCore):
      * loader/DocumentLoader.h:
      (WebCore):
      (DocumentLoader):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::reportMemoryUsage):
      (WebCore):
      * loader/FrameLoader.h:
      (WebCore):
      (FrameLoader):
      * loader/ResourceLoader.cpp:
      (WebCore::ResourceLoader::reportMemoryUsage):
      (WebCore):
      * loader/ResourceLoader.h:
      (WebCore):
      (ResourceLoader):
      * page/Frame.cpp:
      (WebCore::Frame::reportMemoryUsage):
      (WebCore):
      * page/Frame.h:
      (WebCore):
      (Frame):
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::reportMemoryUsage):
      (WebCore):
      * platform/SharedBuffer.h:
      (WebCore):
      (SharedBuffer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f79cf8e
  11. 30 Mar, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Vertical flow support for OpenType fonts with the least platform dependencies · 8a1adc5e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81326
      
      Patch by Koji Ishii <kojiishi@gmail.com> on 2012-03-29
      Reviewed by Dan Bernstein.
      
      This patch introduces a new class OpenTypeVerticalData to read
      vertical font metrics from OpenType fonts.
      
      Currently, WebKit relies on platform APIs to do the work. However,
      some platforms such as Windows lack support for all the capabilities
      WebKit requires for vertical flow and the text-orientation property
      to work correctly. Reading OpenType tables directly also gives
      benefits in consistent behavior among the WebKit platforms.
      
      This patch is for any platforms that want to parse OpenType tables
      directly, but it's currently included only in CGWin and isn't on any
      code path even on CGWin yet. Caller's side change for CGWin and
      support for other platforms will be in separate bugs.
      
      No new tests are required. No behavior changes.
      
      * WebCore.vcproj/WebCore.vcproj: Added OpenTypeTypes.h and OpenTypeVerticalData.h/cpp.
      * platform/SharedBuffer.cpp: Add create(size_t)
      (WebCore::SharedBuffer::SharedBuffer):
      (WebCore):
      * platform/SharedBuffer.h: Add create(size_t)
      (WebCore::SharedBuffer::create):
      (SharedBuffer):
      * platform/graphics/FontPlatformData.h: Added openTypeTable().
      (WebCore):
      (FontPlatformData):
      * platform/graphics/SimpleFontData.h: Added sizePerUnit().
      (WebCore::SimpleFontData::sizePerUnit): size() / unitsPerEm() for less multiplication.
      * platform/graphics/opentype/OpenTypeTypes.h: Added OpenType basic type definitions.
      (OpenType):
      (WebCore::OpenType::BigEndianShort::operator short):
      (WebCore::OpenType::BigEndianShort::BigEndianShort):
      (BigEndianShort):
      (WebCore::OpenType::BigEndianUShort::operator unsigned short):
      (WebCore::OpenType::BigEndianUShort::BigEndianUShort):
      (BigEndianUShort):
      (WebCore::OpenType::BigEndianLong::operator int):
      (WebCore::OpenType::BigEndianLong::BigEndianLong):
      (BigEndianLong):
      (WebCore::OpenType::BigEndianULong::operator unsigned):
      (WebCore::OpenType::BigEndianULong::BigEndianULong):
      (BigEndianULong):
      * platform/graphics/opentype/OpenTypeVerticalData.cpp: Added.
      (OpenType):
      (HheaTable):
      (VheaTable):
      (Entry):
      (VORGTable):
      (VertOriginYMetrics):
      (WebCore::OpenType::VORGTable::requiredSize):
      (WebCore):
      (WebCore::validatedPtr):
      (WebCore::OpenTypeVerticalData::OpenTypeVerticalData):
      (WebCore::OpenTypeVerticalData::advanceHeight): Advance height for a glyph.
      (WebCore::OpenTypeVerticalData::getVerticalTranslationsForGlyphs): Vertical origin.
      * platform/graphics/opentype/OpenTypeVerticalData.h: Added.
      (WebCore):
      (OpenTypeVerticalData): A new class to handle vertical flow data in OpenType.
      (WebCore::OpenTypeVerticalData::isOpenType):
      (WebCore::OpenTypeVerticalData::hasVerticalMetrics):
      (WebCore::OpenTypeVerticalData::hasVORG):
      * platform/graphics/win/FontPlatformDataWin.cpp:
      (WebCore):
      (WebCore::FontPlatformData::openTypeTable): Implemented openTypeTable() for Win32.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a1adc5e
  12. 28 Feb, 2012 1 commit
    • ap@apple.com's avatar
      FileReader crashes when file is not readable · b2852ac0
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79715
      
      Reviewed by Jian Li.
      
      Source/WebCore:
      
      Test: fast/files/file-reader-directory-crash.html
      
      * platform/SharedBuffer.cpp: (WebCore::SharedBuffer::SharedBuffer): Crash early if a caller
      mixed up in-band error signal with length again.
      
      * platform/network/BlobResourceHandle.cpp:
      (WebCore): Changed errors into an enum. Added a proper domain for blob errors.
      (WebCore::BlobResourceHandle::didReceiveResponse): There is already a constant for INT_MAX
      in C/C++.
      (WebCore::BlobResourceHandle::didRead): Don't send "-1" for failure down the success path.
      (WebCore::BlobResourceHandle::notifyFail): Use a proper domain for blob errors, and a non-
      empty message.
      
      LayoutTests:
      
      * fast/files/file-reader-directory-crash-expected.txt: Added.
      * fast/files/file-reader-directory-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2852ac0
  13. 14 Feb, 2012 2 commits
    • benjamin@webkit.org's avatar
      Implement Element.webkitRegionOverflow · dbe0459f
      benjamin@webkit.org authored
      [CSSRegions][CSSOM] Implement Element.regionOverflow
      https://bugs.webkit.org/show_bug.cgi?id=77863
      
      Patch by Raul Hudea <rhudea@adobe.com> on 2012-02-13
      Reviewed by David Hyatt.
      
      On each layout, compute the overflowState for each region belonging to the flow thread
      
      Tests: fast/regions/element-region-overflow-state-vertical-rl.html
             fast/regions/element-region-overflow-state.html
      
      * dom/Element.cpp:
      (WebCore::Element::webkitRegionOverflow):
      (WebCore):
      * dom/Element.h:
      * dom/Element.idl:
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::computeOverflow):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::computeOverflowStateForRegions):
      (WebCore):
      * rendering/RenderFlowThread.h:
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::RenderRegion):
      * rendering/RenderRegion.h:
      (RenderRegion):
      (WebCore::RenderRegion::regionState):
      (WebCore::RenderRegion::setRegionState):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbe0459f
    • benjamin@webkit.org's avatar
      SharedBuffer::getSomeData() must support m_dataArray if NETWORK_CFDATA_ARRAY_CALLBACK is defined · 9b91c1a7
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77718
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-02-13
      Reviewed by David Kilzer.
      
      Previously, the last part of SharedBuffer::getSomeData() was systematically accessing
      the data from the segments. When NETWORK_CFDATA_ARRAY_CALLBACK is defined, there can
      be data in m_dataArray past the segment.
      
      The previous code was making invalid memory access pass the segment vector. This patch
      adds support for getting the data out of m_dataArray to make SharedBuffer::getSomeData()
      works with NETWORK_CFDATA_ARRAY_CALLBACK.
      
      This is covered by existing tests when NETWORK_CFDATA_ARRAY_CALLBACK is defined.
      The test 'fast/events/constructors/track-event-constructor.html' is a reliable test
      for this.
      
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::getSomeData):
      * platform/SharedBuffer.h:
      (SharedBuffer):
      * platform/cf/SharedBufferCF.cpp:
      (WebCore):
      (WebCore::SharedBuffer::copySomeDataFromDataArray):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b91c1a7
  14. 01 Sep, 2011 1 commit
  15. 27 Jun, 2011 1 commit
    • jcivelli@chromium.org's avatar
      2011-06-27 Jay Civelli <jcivelli@chromium.org> · 9fe2f6a6
      jcivelli@chromium.org authored
              Reviewed by Darin Fisher.
      
              Adding binary part support to MHTML.
              https://bugs.webkit.org/show_bug.cgi?id=63310
      
              * mhtml/multi_frames_binary.mht: Added.
              * platform/chromium/mhtml/multi_frames_binary-expected.txt: Added.
      2011-06-27  Jay Civelli  <jcivelli@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Adding binary part support to MHTML.
              https://bugs.webkit.org/show_bug.cgi?id=63310
      
              * loader/archive/mhtml/MHTMLArchive.cpp:
              (WebCore::MHTMLArchive::generateMHTMLData):
              (WebCore::MHTMLArchive::generateMHTMLDataUsingBinaryEncoding):
              * loader/archive/mhtml/MHTMLArchive.h:
              * loader/archive/mhtml/MHTMLParser.cpp:
              (WebCore::MHTMLParser::parseNextPart):
              * platform/SharedBuffer.cpp:
              (WebCore::SharedBuffer::append):
              * platform/SharedBuffer.h:
              * platform/network/MIMEHeader.cpp:
              (WebCore::MIMEHeader::parseContentTransferEncoding):
              * platform/network/MIMEHeader.h:
      2011-06-27  Jay Civelli  <jcivelli@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Adding binary part support to MHTML.
              https://bugs.webkit.org/show_bug.cgi?id=63310
      
              * public/WebPageSerializer.h:
              * src/WebPageSerializer.cpp:
              (WebKit::WebPageSerializer::serializeToMHTML):
              (WebKit::WebPageSerializer::serializeToMHTMLUsingBinaryEncoding):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fe2f6a6
  16. 02 Jun, 2011 1 commit
    • jcivelli@chromium.org's avatar
      2011-06-02 Jay Civelli <jcivelli@chromium.org> · f73467f1
      jcivelli@chromium.org authored
              Reviewed by Adam Barth.
      
              Added a method to generate RFC 2822 compliant date strings.
              https://bugs.webkit.org/show_bug.cgi?id=7169
      
              * wtf/DateMath.cpp:
              (WTF::twoDigitStringFromNumber):
              (WTF::makeRFC2822DateString):
              * wtf/DateMath.h:
      2011-06-02  Jay Civelli  <jcivelli@chromium.org>
      
              Reviewed by Adam Barth.
      
              Adding MHTML generation support to MHTMLArchive.
              https://bugs.webkit.org/show_bug.cgi?id=7169
      
              * loader/archive/mhtml/MHTMLArchive.cpp:
              (WebCore::generateRandomBoundary):
              (WebCore::replaceNonPrintableCharacters):
              (WebCore::MHTMLArchive::generateMHTMLData):
              * loader/archive/mhtml/MHTMLArchive.h:
              * page/PageSerializer.cpp:
              (WebCore::PageSerializer::serializeFrame):
              (WebCore::PageSerializer::serializeCSSStyleSheet):
              * platform/SharedBuffer.cpp:
              (WebCore::SharedBuffer::append):
              * platform/SharedBuffer.h:
      2011-06-02  Jay Civelli  <jcivelli@chromium.org>
      
              Reviewed by Adam Barth.
      
              Adding MHTML generation support to MHTMLArchive.
              https://bugs.webkit.org/show_bug.cgi?id=7169
      
              * public/WebPageSerializer.h:
              * src/WebPageSerializer.cpp:
              (WebKit::WebPageSerializer::serializeToMHTML):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87958 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f73467f1
  17. 01 Jun, 2011 2 commits
  18. 22 Mar, 2011 1 commit
    • psolanki@apple.com's avatar
      2011-03-22 Pratik Solanki <psolanki@apple.com> · 82da28fc
      psolanki@apple.com authored
              Reviewed by David Kilzer.
      
              Implement -connection:didReceiveDataArray: NSURLConnection delegate method
              https://bugs.webkit.org/show_bug.cgi?id=56838
      
              Add experimental support for the didReceiveDataArray callback on
              NSURLConnection. A RessourceHandleClient indicates its ability to
              handle this callback by returning true from supportsDataArray() method.
              Currently only SubresourceLoader uses this so we get the benefit for
              CSS, JS and image loads. For other clients we call didReceiveData with
              the CFData contents as before.
      
              * WebCore.xcodeproj/project.pbxproj:
              * loader/ResourceLoader.h:
              * loader/SubresourceLoader.h:
              (WebCore::SubresourceLoader::supportsDataArray):
              * loader/cf/SubresourceLoaderCF.cpp: Added.
              (WebCore::SubresourceLoader::didReceiveDataArray):
              * loader/mac/ResourceLoaderMac.mm:
              (WebCore::ResourceLoader::didReceiveDataArray):
              * platform/SharedBuffer.cpp:
              (WebCore::SharedBuffer::clear):
              (WebCore::SharedBuffer::buffer):
              * platform/SharedBuffer.h:
              * platform/cf/SharedBufferCF.cpp:
              (WebCore::SharedBuffer::append):
              (WebCore::SharedBuffer::copyDataArrayAndClear):
              * platform/network/ResourceHandleClient.h:
              (WebCore::ResourceHandleClient::supportsDataArray):
              (WebCore::ResourceHandleClient::didReceiveDataArray):
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connection:didReceiveDataArray:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82da28fc
  19. 08 Mar, 2011 2 commits
    • commit-queue@webkit.org's avatar
      2011-03-08 Sheriff Bot <webkit.review.bot@gmail.com> · 4d27aba6
      commit-queue@webkit.org authored
              Unreviewed, rolling out r80551.
              http://trac.webkit.org/changeset/80551
              https://bugs.webkit.org/show_bug.cgi?id=55933
      
              It broke 285 tests on Qt bot (Requested by Ossy on #webkit).
      
              * WebCore.pro:
              * platform/SharedBuffer.cpp:
              * platform/SharedBuffer.h:
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
              (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
              (WebCore::QNetworkReplyHandler::forwardData):
              (WebCore::QNetworkReplyHandler::start):
              * platform/network/qt/QNetworkReplyHandler.h:
              * platform/network/qt/ResourceHandleQt.cpp:
              (WebCore::ResourceHandle::supportsBufferedData):
              (WebCore::ResourceHandle::bufferedData):
              * platform/qt/QtByteBlock.cpp: Removed.
              * platform/qt/QtByteBlock.h: Removed.
              * platform/qt/SharedBufferQt.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d27aba6
    • andreas.kling@nokia.com's avatar
      2011-03-08 Markus Goetz <guruz@guruz.de> · ccebf847
      andreas.kling@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Use the QNetworkAccessManager zerocopy feature
              https://bugs.webkit.org/show_bug.cgi?id=50082
      
              The feature will be introduced in Qt 4.8.
              This patch is backwards compatible with Qt 4.7.
      
              * WebCore.pro:
              * platform/SharedBuffer.cpp:
              * platform/SharedBuffer.h:
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
              (WebCore::QNetworkReplyHandler::bufferedData):
              (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
              (WebCore::QNetworkReplyHandler::downloadProgress):
              (WebCore::QNetworkReplyHandler::forwardData):
              (WebCore::QNetworkReplyHandler::start):
              * platform/network/qt/QNetworkReplyHandler.h:
              * platform/network/qt/ResourceHandleQt.cpp:
              (WebCore::ResourceHandle::supportsBufferedData):
              (WebCore::ResourceHandle::bufferedData):
              * platform/qt/SharedBufferQt.cpp:
              (WebCore::SharedBuffer::wrapQtByteBlock):
              (WebCore::SharedBuffer::hasPlatformData):
              (WebCore::SharedBuffer::platformData):
              (WebCore::SharedBuffer::platformDataSize):
              (WebCore::SharedBuffer::maybeTransferPlatformData):
              (WebCore::SharedBuffer::clearPlatformData):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccebf847
  20. 23 Feb, 2011 1 commit
    • paroga@webkit.org's avatar
      2011-02-23 Patrick Gansterer <paroga@webkit.org> · 538afa3b
      paroga@webkit.org authored
              Reviewed by Darin Adler.
      
              Rename PLATFORM(CF) to USE(CF)
              https://bugs.webkit.org/show_bug.cgi?id=53540
      
              * runtime/DatePrototype.cpp:
              * runtime/GCActivityCallbackCF.cpp:
              * runtime/JSGlobalData.cpp:
              (JSC::JSGlobalData::JSGlobalData):
              * wtf/CurrentTime.cpp:
              * wtf/Platform.h:
              * wtf/text/AtomicString.h:
              * wtf/text/StringImpl.h:
              (WTF::StringImpl::computeHash):
              * wtf/text/WTFString.h:
              * wtf/unicode/icu/CollatorICU.cpp:
              (WTF::Collator::userDefault):
      2011-02-23  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Darin Adler.
      
              Rename PLATFORM(CF) to USE(CF)
              https://bugs.webkit.org/show_bug.cgi?id=53540
      
              * WebCore.gyp/WebCore.gyp:
              * editing/SmartReplace.cpp:
              * editing/SmartReplaceICU.cpp:
              * loader/MainResourceLoader.cpp:
              (WebCore::MainResourceLoader::didReceiveResponse):
              (WebCore::MainResourceLoader::didReceiveData):
              (WebCore::MainResourceLoader::didFinishLoading):
              (WebCore::MainResourceLoader::didFail):
              * loader/archive/ArchiveFactory.cpp:
              (WebCore::archiveMIMETypes):
              * platform/FileSystem.h:
              * platform/KURL.h:
              * platform/KURLGoogle.cpp:
              * platform/RunLoopTimer.h:
              * platform/SharedBuffer.cpp:
              * platform/SharedBuffer.h:
              * platform/UUID.cpp:
              (WebCore::createCanonicalUUIDString):
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceRequestBase.h:
              * platform/network/curl/ResourceHandleCurl.cpp:
              * platform/network/curl/ResourceHandleManager.cpp:
              (WebCore::certificatePath):
              * platform/text/cf/StringCF.cpp:
              * platform/text/cf/StringImplCF.cpp:
              * platform/win/BString.cpp:
              * platform/win/BString.h:
              * platform/win/ClipboardUtilitiesWin.cpp:
              (WebCore::getWebLocData):
              (WebCore::getURL):
              (WebCore::getClipboardData):
              * platform/win/ClipboardWin.cpp:
              (WebCore::writeFileToDataObject):
              * platform/win/SearchPopupMenuWin.cpp:
              (WebCore::SearchPopupMenuWin::enabled):
              (WebCore::SearchPopupMenuWin::saveRecentSearches):
              (WebCore::SearchPopupMenuWin::loadRecentSearches):
      2011-02-23  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Darin Adler.
      
              Rename PLATFORM(CF) to USE(CF)
              https://bugs.webkit.org/show_bug.cgi?id=53540
      
              * WebCoreSupport/WebInspectorClientCF.cpp:
      2011-02-23  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Darin Adler.
      
              Rename PLATFORM(CF) to USE(CF)
              https://bugs.webkit.org/show_bug.cgi?id=53540
      
              * WebView.cpp:
      2011-02-23  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Darin Adler.
      
              Rename PLATFORM(CF) to USE(CF)
              https://bugs.webkit.org/show_bug.cgi?id=53540
      
              * UIProcess/WebBackForwardList.h:
              * UIProcess/WebPageProxy.cpp:
              * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
              (WebKit::formatLocalizedString):
      2011-02-23  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Darin Adler.
      
              Rename PLATFORM(CF) to USE(CF)
              https://bugs.webkit.org/show_bug.cgi?id=53540
      
              * DumpRenderTree/config.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      538afa3b
  21. 08 Jan, 2011 1 commit
  22. 02 Aug, 2010 1 commit
  23. 06 Jul, 2010 1 commit
    • darin@apple.com's avatar
      2010-07-06 Darin Adler <darin@apple.com> · b07ab5ab
      darin@apple.com authored
              Reviewed by Adam Barth.
      
              Add adoptPtr and leakPtr functions for OwnPtr and PassOwnPtr
              https://bugs.webkit.org/show_bug.cgi?id=41320
      
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::reparseForExceptionInfoIfNecessary): Use assignment
              instead of set since the result of reparseExceptionInfo is now a
              PassOwnPtr.
      
              * bytecode/CodeBlock.h: Change extractExceptionInfo to return a
              PassOwnPtr instead of a raw pointer.
      
              * runtime/Executable.cpp:
              (JSC::FunctionExecutable::reparseExceptionInfo): Return a PassOwnPtr.
              (JSC::EvalExecutable::reparseExceptionInfo): Ditto.
              (JSC::ProgramExecutable::reparseExceptionInfo): Added. This was
              in the header before, but it's better to not have it there to reduce
              header dependencies. Return a PassOwnPtr.
      
              * runtime/Executable.h: Made reparseExceptionInfo return a PassOwnPtr,
              and put it in the private sections of classes other than the base class.
      
              * wtf/MessageQueue.h:
              (WTF::MessageQueue::append): Use leakPtr instead of release.
              (WTF::MessageQueue::appendAndCheckEmpty): Ditto.
              (WTF::MessageQueue::prepend): Ditto.
      
              * wtf/OwnPtr.h: Tweaked formatting. Changed the release function to return
              a PassOwnPtr rather than a raw pointer. Added a leakPtr function that
              returns a raw pointer. Put the constructor that takes a raw pointer and
              the set function into a section guarded by LOOSE_OWN_PTR. Adapted to the
              new adoptPtr function from PassOwnPtr.h.
      
              * wtf/PassOwnPtr.h: Tweaked formatting. Renamed the release function
              to leakPtr. Added an adoptPtr function that creates a new PassOwnPtr.
              Put the constructor and assignment operators that take a raw pointer
              into a section guarded by LOOSE_PASS_OWN_PTR.
      2010-07-06  Darin Adler  <darin@apple.com>
      
              Reviewed by Adam Barth.
      
              Add adoptPtr and leakPtr functions for OwnPtr and PassOwnPtr
              https://bugs.webkit.org/show_bug.cgi?id=41320
      
              Made code changes required because of the change to the release function.
              The equivalent to the old release function is now named leakPtr and
              should be used sparingly. The new release function returns a PassOwnPtr.
      
              * css/CSSFontFaceSource.cpp:
              (WebCore::CSSFontFaceSource::getFontData): Changed code to call
              leakPtr instead of release.
              * css/CSSParser.cpp:
              (WebCore::CSSParser::addProperty): Ditto.
      
              * css/CSSSegmentedFontFace.cpp:
              (WebCore::CSSSegmentedFontFace::getFontData): Removed unneeded type
              casting. Not sure why this changed the type to FontData* and then
              casted back to SimpleFontData*.
      
              * css/MediaQuery.cpp:
              (WebCore::MediaQuery::MediaQuery): Removed call to release on a
              PassOwnPtr, since the data member is now an OwnPtr.
              (WebCore::MediaQuery::~MediaQuery): Removed now-unneeded delete.
              * css/MediaQuery.h: Changed m_expressions to be an OwnPtr.
      
              * html/HTMLToken.h:
              (WebCore::AtomicHTMLToken::AtomicHTMLToken): Use assignment instead
              of the set function since there are no raw pointers involved.
              * loader/CachedResource.cpp:
              (WebCore::CachedResource::makePurgeable): Ditto.
      
              * loader/CrossOriginPreflightResultCache.cpp:
              (WebCore::CrossOriginPreflightResultCache::appendEntry): Use
              leakPtr instead of release, and also add FIXME about deleting the
              old value if the original and URL are already in the map. I
              believe dealing with this FIXME may fix a storage leak.
      
              * loader/CrossOriginPreflightResultCache.h: Change the argument
              to be PassOwnPtr instead of a raw pointer, since this function
              does take ownership.
      
              * loader/DocumentThreadableLoader.cpp:
              (WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
              Use assignment instead of the set function since there are no raw
              pointers involved.
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::startIconLoader): Ditto.
              * loader/TextResourceDecoder.cpp:
              (WebCore::TextResourceDecoder::decode): Ditto.
              (WebCore::TextResourceDecoder::flush): Ditto.
      
              * page/DOMTimer.cpp:
              (WebCore::DOMTimer::fired): Use OwnPtr instead of an explicit
              delete.
      
              * platform/CrossThreadCopier.h: Removed explicit code that tried
              to copy PassOwnPtr in a complicated way. It did nothing different
              from just returning the PassOwnPtr. This presumably was done because
              PassRefPtr has issues when copied cross-thread, but there are no
              similar issues for PassOwnPtr. Someone with more experience than I
              might be able to remove the specialization altogether, because
              CrossThreadCopierPassThrough does the right thing in this case.
      
              * platform/SharedBuffer.cpp:
              (WebCore::SharedBuffer::adoptPurgeableBuffer): Changed argument to
              be a PassOwnPtr.
              (WebCore::SharedBuffer::releasePurgeableBuffer): Changed result to
              be a PassOwnPtr.
              * platform/SharedBuffer.h: Updated for changes above.
      
              * rendering/RenderSVGResourceFilter.cpp:
              (WebCore::RenderSVGResourceFilter::applyResource): Changed one site
              to use assignment instead of the set function since there are no raw
              pointers involved. Changed another site to use leakPtr instead
              of release.
      
              * rendering/RenderSVGResourceGradient.cpp:
              (WebCore::createMaskAndSwapContextForTextGradient): Use assignment
              instead of the set function since there are no raw pointers involved.
      
              * rendering/style/RenderStyle.cpp:
              (WebCore::RenderStyle::setContent): Use leakPtr instead of release.
              (WebCore::RenderStyle::setBoxShadow): Ditto.
      
              * workers/DefaultSharedWorkerRepository.cpp:
              (WebCore::DefaultSharedWorkerRepository::connectToWorker):
              Removed unneeded call to release function in a code path that passes
              a PassOwnPtr to a function that takes a PassOwnPtr.
      
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::setTimeout): Changed argument type to PassOwnPtr.
              (WebCore::WorkerContext::setInterval): Ditto.
              * workers/WorkerContext.h: Updated for changes above.
      
              * workers/WorkerMessagingProxy.cpp:
              (WebCore::WorkerMessagingProxy::postMessageToWorkerObject):
              (WebCore::WorkerMessagingProxy::postMessageToWorkerContext):
              Removed unneeded call to release function in code paths that pass
              a PassOwnPtr to a function that takes a PassOwnPtr.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b07ab5ab
  24. 05 Jan, 2010 4 commits
  25. 08 Dec, 2009 2 commits
    • dimich@chromium.org's avatar
      Revert and reopen "Add asserts to RefCounted to make sure ref/deref happens on the right thread." · 99d59f6a
      dimich@chromium.org authored
      It may have caused massive increase of reported leaks on the bots.
      https://bugs.webkit.org/show_bug.cgi?id=31639
      
      Rubber-stamped by David Levin.
      
      JavaScriptCore:
      
      * GNUmakefile.am:
      * JavaScriptCore.gypi:
      * JavaScriptCore.vcproj/WTF/WTF.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * runtime/Structure.cpp:
      (JSC::Structure::Structure):
      * wtf/RefCounted.h:
      (WTF::RefCountedBase::ref):
      (WTF::RefCountedBase::hasOneRef):
      (WTF::RefCountedBase::refCount):
      (WTF::RefCountedBase::derefBase):
      * wtf/ThreadVerifier.h: Removed.
      
      JavaScriptGlue:
      
      * ForwardingHeaders/wtf/ThreadVerifier.h: Removed.
      
      WebCore:
      
      * ForwardingHeaders/wtf/ThreadVerifier.h: Removed.
      * loader/icon/IconRecord.cpp:
      (WebCore::IconRecord::IconRecord):
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::SharedBuffer):
      * platform/text/StringImpl.cpp:
      (WebCore::StringImpl::StringImpl):
      
      WebKit/mac:
      
      * ForwardingHeaders/wtf/ThreadVerifier.h: Removed.
      
      WebKitTools:
      
      * DumpRenderTree/ForwardingHeaders/wtf/ThreadVerifier.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99d59f6a
    • dimich@chromium.org's avatar
      Add asserts to RefCounted to make sure ref/deref happens on the right thread. · 6db9c806
      dimich@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31639
      
      Reviewed by Darin Adler.
      
      JavaScriptCore:
      
      * runtime/Structure.cpp:
      (JSC::Structure::Structure): Disable thread verification on this class since it uses addressOfCount().
      * wtf/RefCounted.h:
      (WTF::RefCountedBase::ref): Add ASSERT.
      (WTF::RefCountedBase::hasOneRef): Ditto.
      (WTF::RefCountedBase::refCount): Ditto.
      (WTF::RefCountedBase::derefBase): Ditto.
      (WTF::RefCountedBase::disableThreadVerification): delegate to ThreadVerifier method.
      * wtf/ThreadVerifier.h: Added.
      (WTF::ThreadVerifier::ThreadVerifier): New Debug-only class to verify that ref/deref of RefCounted is done on the same thread.
      (WTF::ThreadVerifier::activate): Activates checks. Called when ref count becomes above 2.
      (WTF::ThreadVerifier::deactivate): Deactivates checks. Called when ref count drops below 2.
      (WTF::ThreadVerifier::disableThreadVerification): used on objects that should not be checked (StringImpl etc)
      (WTF::ThreadVerifier::verifyThread):
      * GNUmakefile.am: Add ThreadVerifier.h to the build file.
      * JavaScriptCore.gypi: Ditto.
      * JavaScriptCore.vcproj/WTF/WTF.vcproj: Ditto.
      * JavaScriptCore.xcodeproj/project.pbxproj: Ditto.
      
      JavaScriptGlue:
      
      * ForwardingHeaders/wtf/ThreadVerifier.h: Added.
      
      WebCore:
      
      * loader/icon/IconRecord.cpp:
      (WebCore::IconRecord::IconRecord): Disable thread verification for this class because of its cross-thread use in IconDatabase.
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::SharedBuffer): Ditto.
      * platform/text/StringImpl.cpp:
      (WebCore::StringImpl::StringImpl): Disable thread verification for this class, add FIXME to enforce proper usage via crossThreadString.
      * ForwardingHeaders/wtf/ThreadVerifier.h: Added.
      
      WebKit/mac:
      
      * ForwardingHeaders/wtf/ThreadVerifier.h: Added.
      
      WebKitTools:
      
      * DumpRenderTree/ForwardingHeaders/wtf/ThreadVerifier.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6db9c806
  26. 25 Nov, 2008 1 commit
    • antti@apple.com's avatar
      2008-11-24 Antti Koivisto <antti@apple.com> · 2d6006aa
      antti@apple.com authored
              Reviewed by Geoff Garen.
      
              https://bugs.webkit.org/show_bug.cgi?id=22214
              Keep dead resourcs in memory cache in purgeable memory.
              <rdar://problem/6333088>
              
              OS X 10.5 has purgeable memory kernel facility that allows marking reserved memory
              areas as less important. Under memory pressure system can steal pages that have
              been marked purgeable for (hopefully) better uses. This is ideal for caches.
              
              Only resources larger than 16KB will be moved to the purgsable memory.
      
              * WebCore.base.exp:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * loader/Cache.cpp:
              (WebCore::Cache::requestResource):
              (WebCore::Cache::requestUserCSSStyleSheet):
              (WebCore::Cache::resourceForURL):
              (WebCore::Cache::pruneDeadResources):
              (WebCore::Cache::TypeStatistic::addResource):
              (WebCore::Cache::getStatistics):
              (WebCore::Cache::dumpStats):
              * loader/Cache.h:
              (WebCore::Cache::TypeStatistic::TypeStatistic):
              * loader/CachedCSSStyleSheet.cpp:
              (WebCore::CachedCSSStyleSheet::allClientsRemoved):
              (WebCore::CachedCSSStyleSheet::sheetText):
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::addClient):
              (WebCore::CachedImage::image):
              (WebCore::CachedImage::imageSize):
              (WebCore::CachedImage::imageRect):
              (WebCore::CachedImage::destroyDecodedData):
              * loader/CachedResource.cpp:
              (WebCore::CachedResource::addClient):
              (WebCore::CachedResource::makePurgeable):
              (WebCore::CachedResource::isPurgeable):
              (WebCore::CachedResource::wasPurged):
              * loader/CachedResource.h:
              (WebCore::CachedResource::data):
              * loader/CachedScript.cpp:
              (WebCore::CachedScript::allClientsRemoved):
              (WebCore::CachedScript::script):
              (WebCore::CachedScript::destroyDecodedData):
              * platform/PurgeableBuffer.h: Added.
              (WebCore::PurgeableBuffer::create):
              (WebCore::PurgeableBuffer::size):
              (WebCore::PurgeableBuffer::):
              (WebCore::PurgeableBuffer::purgePriority):
              (WebCore::PurgeableBuffer::isPurgeable):
              (WebCore::PurgeableBuffer::~PurgeableBuffer):
              (WebCore::PurgeableBuffer::data):
              (WebCore::PurgeableBuffer::setPurgePriority):
              (WebCore::PurgeableBuffer::wasPurged):
              (WebCore::PurgeableBuffer::makePurgeable):
              * platform/SharedBuffer.cpp:
              (WebCore::SharedBuffer::~SharedBuffer):
              (WebCore::SharedBuffer::adoptPurgeableBuffer):
              (WebCore::SharedBuffer::size):
              (WebCore::SharedBuffer::data):
              (WebCore::SharedBuffer::append):
              (WebCore::SharedBuffer::clear):
              (WebCore::SharedBuffer::releasePurgeableBuffer):
              * platform/SharedBuffer.h:
              (WebCore::SharedBuffer::hasPurgeableBuffer):
              * platform/cf/SharedBufferCF.cpp:
              * platform/mac/PurgeableBufferMac.cpp: Added.
              (WebCore::PurgeableBuffer::PurgeableBuffer):
              (WebCore::PurgeableBuffer::~PurgeableBuffer):
              (WebCore::PurgeableBuffer::create):
              (WebCore::PurgeableBuffer::makePurgeable):
              (WebCore::PurgeableBuffer::wasPurged):
              (WebCore::PurgeableBuffer::setPurgePriority):
              (WebCore::PurgeableBuffer::data):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d6006aa
  27. 26 Mar, 2008 1 commit
    • beidson@apple.com's avatar
      2008-03-25 Brady Eidson <beidson@apple.com> · 248732cb
      beidson@apple.com authored
              Reviewed by Anders
      
              Add the ability to transform a CString into a SharedBuffer to avoid copying data
              This is valuable to avoid copying a block of data for an upcoming patch
      
              * platform/SharedBuffer.cpp:
              (WebCore::SharedBuffer::adoptVector):
              * platform/SharedBuffer.h:
      
              * platform/text/CString.cpp:
              (WebCore::CString::releaseBuffer):
              * platform/text/CString.h:
              (WebCore::CStringBuffer::releaseBuffer):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      248732cb
  28. 20 Mar, 2008 1 commit
    • beidson@apple.com's avatar
      2008-03-19 Brady Eidson <beidson@apple.com> · 22f1098a
      beidson@apple.com authored
              Reviewed by Anders
      
              Change SharedBuffer so the wrapping platform data aspect can be shared with all CoreFoundation platforms
              (Mac and Windows instead of just Mac)
      
              * WebCore.vcproj/WebCore.vcproj: Add SharedBufferCF.cpp
              * WebCore.xcodeproj/project.pbxproj: Ditto
      
              * platform/SharedBuffer.cpp:
              * platform/SharedBuffer.h: Change the private c'tor from NSData to CFDataRef, other PLATFORM tweaks
      
              * platform/cf/SharedBufferCF.cpp: Added.
              (WebCore::SharedBuffer::SharedBuffer):
              (WebCore::SharedBuffer::createCFData): Non-Mac version of createCFData
              (WebCore::SharedBuffer::hasPlatformData):
              (WebCore::SharedBuffer::platformData):
              (WebCore::SharedBuffer::platformDataSize):
              (WebCore::SharedBuffer::maybeTransferPlatformData):
              (WebCore::SharedBuffer::clearPlatformData):
      
              * platform/mac/SharedBufferMac.mm:
              (WebCore::SharedBuffer::wrapNSData): Use the CFDataRef constructor via toll-free bridging
              (WebCore::SharedBuffer::createCFData): Mac-specific version of createCFData
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22f1098a
  29. 13 Mar, 2008 1 commit
    • beidson@apple.com's avatar
      Reviewed by Anders · f54a2eec
      beidson@apple.com authored
              Convert SharedBuffer to start with a refCount of 1
      
              * loader/ImageDocument.cpp:
              (WebCore::ImageTokenizer::finish):
      
              * loader/ResourceLoader.cpp:
              (WebCore::ResourceLoader::addData):
              (WebCore::ResourceLoader::willStopBufferingData):
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::defaultIcon):
              (WebCore::IconDatabase::getImageDataForIconURLFromSQLDatabase):
      
              * loader/loader.cpp:
              (WebCore::Loader::didReceiveData):
      
              * platform/SharedBuffer.h:
              (WebCore::SharedBuffer::create): Make all constructors private, add ::create() calls
              * platform/SharedBuffer.cpp:
              (WebCore::SharedBuffer::SharedBuffer): Revert to default RefCounted constructor to start with a ref count of 1
              (WebCore::SharedBuffer::copy):
              * platform/mac/SharedBufferMac.mm:
              (WebCore::SharedBuffer::wrapNSData):
              (WebCore::SharedBuffer::SharedBuffer): Revert to default RefCounted constructor to start with a ref count of 1
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f54a2eec
  30. 10 Feb, 2008 1 commit
    • darin@apple.com's avatar
      JavaScriptCore: · 734fbf64
      darin@apple.com authored
              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: http://svn.webkit.org/repository/webkit/trunk@30122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      734fbf64
  31. 07 Feb, 2008 1 commit