[User Timing]Integrate with Perforamnce Timeline.
https://bugs.webkit.org/show_bug.cgi?id=91072.

Patch by Pan Deng <pan.deng@intel.com> on 2012-10-22
Reviewed by Tony Gentilcore.

This patch expose user timing entries via performance timeline interface. JavaScriptCore custom binding will be another patch

No new tests, user timing test cases have been landed.

* page/Performance.cpp:
(WebCore::Performance::Performance):
(WebCore::Performance::webkitGetEntries):
(WebCore::Performance::webkitGetEntriesByType):
(WebCore::Performance::webkitGetEntriesByName):
* page/PerformanceEntry.h:
(WebCore::PerformanceEntry::startTimeCompareLessThan):
(PerformanceEntry):
* page/PerformanceEntryList.cpp:
(WebCore::PerformanceEntryList::sort):
(WebCore):
* page/PerformanceEntryList.h:
(PerformanceEntryList):
* page/PerformanceUserTiming.cpp:
(WebCore::convertToEntrySequence):
(WebCore):
(WebCore::getEntrySequenceByName):
(WebCore::UserTiming::getMarks):
(WebCore::UserTiming::getMeasures):
* page/PerformanceUserTiming.h:
(UserTiming):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline pixel expectations after r131941 and r131991, part 9.

* platform/efl/svg/dynamic-updates/SVGImageElement-svgdom-y-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-dom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-dom-x1-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-dom-x2-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-dom-y1-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-dom-y2-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-svgdom-x1-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-svgdom-x2-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-svgdom-y1-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLineElement-svgdom-y2-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-dom-gradientTransform-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-dom-gradientUnits-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-dom-x1-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-dom-x2-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-dom-y1-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-dom-y2-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientUnits-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-svgdom-x1-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-svgdom-x2-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-svgdom-y1-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGLinearGradientElement-svgdom-y2-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-dom-markerHeight-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-dom-markerUnits-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-dom-markerWidth-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-dom-orient-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-dom-refX-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-dom-refY-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-markerHeight-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-markerUnits-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-markerWidth-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-orientAngle-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-orientType-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-refX-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-refY-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAngle-call-expected.png:
* platform/efl/svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAuto-call-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-dom-height-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-dom-maskContentUnits-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-dom-maskUnits-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-dom-width-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-dom-x-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-dom-y-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-svgdom-height-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-svgdom-maskContentUnits-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-svgdom-maskUnits-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-svgdom-width-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-svgdom-x-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGMaskElement-svgdom-y-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGPathElement-dom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGPathElement-svgdom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-dom-height-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-dom-patternTransform-attr-expected.png:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderTableCol::computePreferredLogicalWidths and RenderTableCol::layout should never be called
https://bugs.webkit.org/show_bug.cgi?id=99861

Reviewed by Ojan Vafai.

Source/WebCore:

RenderTableCol's computePreferredLogicalWidths and layout's only purpose were to clear the preferred logical
widths dirty / layout flag so that we would properly propagate the information to our containing table. This
led to clunky code where the table layout code had to forcefully call RenderTableCol::computePreferredLogicalWidths
or else we would ignore the next layout hint on the <col> or <colgroup>.

Test: fast/table/col-span-change-relayout.html

* rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::recalcColumn):
* rendering/RenderTable.cpp:
(WebCore::RenderTable::layout):
Simplified the code now that we only need to iterate over the sections.

* rendering/FixedTableLayout.cpp:
(WebCore::FixedTableLayout::calcWidthArray):
Removed call to computePreferredLogicalWidths.

* rendering/RenderTableCol.cpp:
(WebCore::RenderTableCol::styleDidChange):
(WebCore::RenderTableCol::updateFromElement):
Forward a layout hint to the table so that we properly recompute the cell's logical withs.

(WebCore::RenderTableCol::computePreferredLogicalWidths):
(WebCore::RenderTableCol::layout):
Change our implementations of those 2 methods to be no-ops, while enforcing that they are
never called.

(WebCore::RenderTableCol::propagateLayoutCueToTable):
New helper function that forward any layout cue to the containing table, this works around
us not clearing the flags which confuses RenderObject markContainingBlocksForLayout and
invalidateContainerPreferredLogicalWidths.

* rendering/RenderTableCol.h:
Made the function that we are not expected to be called private.

LayoutTests:

Added this test as the code in RenderTableCol::updateFromElement wasn't properly covered.

* fast/table/col-span-change-relayout-expected.txt: Added.
* fast/table/col-span-change-relayout.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline pixel expectations after r131941 and r131991, part 10.

* platform/efl/svg/dynamic-updates/SVGPatternElement-dom-patternUnits-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-dom-width-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-dom-x-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-dom-y-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-svgdom-height-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-svgdom-patternUnits-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-svgdom-width-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-svgdom-x-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGPatternElement-svgdom-y-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGPolygonElement-dom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGPolygonElement-svgdom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGPolylineElement-dom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGPolylineElement-svgdom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-dom-cx-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-dom-cy-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-dom-fx-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-dom-fy-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-dom-gradientTransform-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-dom-gradientUnits-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-dom-r-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-svgdom-cx-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-svgdom-cy-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-svgdom-fx-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-svgdom-fy-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientUnits-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRadialGradientElement-svgdom-r-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-dom-height-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-dom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-dom-width-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-dom-x-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-dom-y-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-svgdom-height-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-svgdom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-svgdom-width-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-svgdom-x-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGRectElement-svgdom-y-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGSVGElement-dom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGSVGElement-svgdom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGTRefElement-dom-href-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-dx-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-dy-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-rotate-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-textLength-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-transform-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-x-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-dom-y-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-dx-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-dy-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-rotate-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-textLength-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-transform-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-x-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGTextElement-svgdom-y-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGUseElement-dom-href1-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGUseElement-dom-href2-attr-expected.png:
* platform/efl/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
* platform/efl/svg/dynamic-updates/SVGUseElement-svgdom-href1-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGUseElement-svgdom-href2-prop-expected.png:
* platform/efl/svg/dynamic-updates/SVGUseElement-svgdom-requiredFeatures-expected.png:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] We should call the faster v8::Integer::New APIs
https://bugs.webkit.org/show_bug.cgi?id=100016

Reviewed by Eric Seidel.

In working to remove the integer cache, I added some faster APIs for
creating v8::Integers. These APIs are faster than the old APIs, but not
quite fast enough to replace the integer cache. We should still use
them when we miss the integer cache.

I've also included a small refactoring to V8PerIsolateData to make it
clearer when we're calling v8::Isolate::GetCurrent().

* bindings/v8/DOMData.cpp:
(WebCore::DOMData::getCurrentStore):
* bindings/v8/V8Binding.h:
(WebCore::v8ExternalString):
(WebCore::v8Integer):
(WebCore::v8UnsignedInteger):
* bindings/v8/V8PerIsolateData.h:
(WebCore::V8PerIsolateData::current):
(WebCore::V8PerIsolateData::from):
* bindings/v8/V8ValueCache.cpp:
(WebCore::StringCache::v8ExternalStringSlow):
(WebCore::IntegerCache::createSmallIntegers):
* bindings/v8/V8ValueCache.h:
(WebCore::IntegerCache::v8Integer):
(WebCore::IntegerCache::v8UnsignedInteger):
(IntegerCache):
* bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
(WebCore::V8HTMLCanvasElement::getContextCallback):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline pixel expectations after r131941 and r131991, part 11.

Finally finish rebaselining the SVG tests!

* platform/efl/svg/filters/animate-fill-expected.png:
* platform/efl/svg/filters/feImage-animated-transform-on-target-rect-expected.png:
* platform/efl/svg/filters/feImage-change-target-id-expected.png:
* platform/efl/svg/filters/feImage-multiple-targets-id-change-expected.png:
* platform/efl/svg/filters/feImage-reference-invalidation-expected.png:
* platform/efl/svg/filters/feImage-remove-target-expected.png:
* platform/efl/svg/filters/feImage-target-add-to-document-expected.png:
* platform/efl/svg/filters/feImage-target-attribute-change-expected.png:
* platform/efl/svg/filters/feImage-target-attribute-change-with-use-indirection-2-expected.png:
* platform/efl/svg/filters/feImage-target-attribute-change-with-use-indirection-expected.png:
* platform/efl/svg/filters/feImage-target-changes-id-expected.png:
* platform/efl/svg/filters/feImage-target-id-change-expected.png:
* platform/efl/svg/filters/feImage-target-inline-style-change-expected.png:
* platform/efl/svg/filters/feImage-target-property-change-expected.png:
* platform/efl/svg/filters/feImage-target-reappend-to-document-expected.png:
* platform/efl/svg/filters/feImage-target-remove-from-document-expected.png:
* platform/efl/svg/filters/feImage-target-style-change-expected.png:
* platform/efl/svg/filters/filter-refresh-expected.png:
* platform/efl/svg/filters/filter-width-update-expected.png: Added.
* platform/efl/svg/filters/invalidate-on-child-layout-expected.png:
* platform/efl/svg/hixie/perf/001-expected.png:
* platform/efl/svg/hixie/perf/002-expected.png:
* platform/efl/svg/hixie/perf/003-expected.png:
* platform/efl/svg/hixie/perf/004-expected.png:
* platform/efl/svg/hixie/perf/005-expected.png:
* platform/efl/svg/hixie/perf/006-expected.png:
* platform/efl/svg/hixie/perf/007-expected.png:
* platform/efl/svg/repaint/filter-child-repaint-expected.png:
* platform/efl/svg/repaint/image-href-change-expected.png:
* platform/efl/svg/repaint/image-with-clip-path-expected.png:
* platform/efl/svg/repaint/inner-svg-change-viewBox-contract-expected.png:
* platform/efl/svg/repaint/inner-svg-change-viewBox-expected.png:
* platform/efl/svg/repaint/inner-svg-change-viewPort-relative-expected.png:
* platform/efl/svg/repaint/mask-clip-target-transform-expected.png:
* platform/efl/svg/repaint/repainting-after-animation-element-removal-expected.png:
* platform/efl/svg/repaint/text-mask-update-expected.png:
* platform/efl/svg/text/append-text-node-to-tspan-expected.png:
* platform/efl/svg/text/ems-display-none-expected.png:
* platform/efl/svg/text/exs-display-none-expected.png:
* platform/efl/svg/text/modify-text-node-in-tspan-expected.png:
* platform/efl/svg/text/remove-text-node-from-tspan-expected.png:
* platform/efl/svg/text/remove-tspan-from-text-expected.png:
* platform/efl/svg/text/text-rescale-expected.png:
* platform/efl/svg/text/text-text-05-t-expected.png:
* platform/efl/svg/text/text-viewbox-rescale-expected.png:
* platform/efl/svg/text/tspan-dynamic-positioning-expected.png:
* platform/efl/svg/transforms/animated-path-inside-transformed-html-expected.png:
* platform/efl/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/efl/svg/zoom/page/absolute-sized-document-no-scrollbars-expected.png:
* platform/efl/svg/zoom/page/relative-sized-document-scrollbars-expected.png:
* platform/efl/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/efl/svg/zoom/text/absolute-sized-document-no-scrollbars-expected.png:
* platform/efl/svg/zoom/text/absolute-sized-document-scrollbars-expected.png:
* platform/efl/svg/zoom/text/relative-sized-document-scrollbars-expected.png:
* platform/efl/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png:
* platform/efl/svg/zoom/text/zoom-foreignObject-expected.png:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Add some missing SVG expectations.

* platform/efl/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
* platform/efl/svg/transforms/svg-css-transforms-expected.txt: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline another test after r131941 and r131991.

* platform/efl/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, land render tree results for css3/flexbox pixel test that
landed earlier this morning. The results were pulled from the bots.

* platform/gtk/TestExpectations:
* platform/gtk/css3/flexbox/flexbox-baseline-margins-expected.txt: Added.
* platform/mac/TestExpectations:
* platform/mac/css3/flexbox/flexbox-baseline-margins-expected.txt: Added.
* platform/qt/TestExpectations:
* platform/qt/css3/flexbox/flexbox-baseline-margins-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] ASSERT that removeAllDOMObjects() is called only on worker threads
https://bugs.webkit.org/show_bug.cgi?id=100046

Reviewed by Eric Seidel.

This function is called only on worker threads. We should ASSERT that
fact and remove the dead code that tries to handle the main thread
case.

* bindings/v8/V8DOMMap.cpp:
(WebCore::removeAllDOMObjects):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Refactor CachedResourceLoader: add CachedResourceRequest
https://bugs.webkit.org/show_bug.cgi?id=99736

Patch by Marja Hölttä <marja@chromium.org> on 2012-10-22
Reviewed by Adam Barth.

For fixing bugs 84883 and 92761,
CachedResourceLoader::requestResource should take as parameter
information about who initiated the request. But the parameter
list was already long. This gathers all the parameters into a
separate class, CachedResourceRequest. The next step is to add
information about who initiated the request into
CachedResourceRequest.

No new tests because no changes in functionality, just moving code
around.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSFontFaceSrcValue.cpp:
(WebCore::CSSFontFaceSrcValue::cachedFont):
* css/CSSImageSetValue.cpp:
(WebCore::CSSImageSetValue::cachedImageSet):
* css/CSSImageValue.cpp:
(WebCore::CSSImageValue::cachedImage):
* css/StyleRuleImport.cpp:
(WebCore::StyleRuleImport::requestStyleSheet):
* css/WebKitCSSSVGDocumentValue.cpp:
(WebCore::WebKitCSSSVGDocumentValue::load):
* css/WebKitCSSShaderValue.cpp:
(WebCore::WebKitCSSShaderValue::cachedShader):
* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::checkStyleSheet):
* dom/ScriptElement.cpp:
(WebCore::ScriptElement::requestScript):
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::process):
* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::loadRequest):
* loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement):
* loader/LinkLoader.cpp:
(WebCore::LinkLoader::loadLink):
* loader/TextTrackLoader.cpp:
(WebCore::TextTrackLoader::load):
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::requestImage):
(WebCore::CachedResourceLoader::requestFont):
(WebCore::CachedResourceLoader::requestTextTrack):
(WebCore::CachedResourceLoader::requestShader):
(WebCore::CachedResourceLoader::requestCSSStyleSheet):
(WebCore::CachedResourceLoader::requestUserCSSStyleSheet):
(WebCore::CachedResourceLoader::requestScript):
(WebCore::CachedResourceLoader::requestXSLStyleSheet):
(WebCore::CachedResourceLoader::requestSVGDocument):
(WebCore::CachedResourceLoader::requestLinkResource):
(WebCore::CachedResourceLoader::requestRawResource):
(WebCore::CachedResourceLoader::requestResource):
(WebCore::CachedResourceLoader::requestPreload):
(WebCore::CachedResourceLoader::defaultCachedResourceOptions):
(WebCore):
* loader/cache/CachedResourceLoader.h:
(WebCore):
(CachedResourceLoader):
* loader/cache/CachedResourceRequest.cpp: Added.
(WebCore):
(WebCore::CachedResourceRequest::CachedResourceRequest):
* loader/cache/CachedResourceRequest.h: Added.
(WebCore):
(CachedResourceRequest):
(WebCore::CachedResourceRequest::mutableResourceRequest):
(WebCore::CachedResourceRequest::resourceRequest):
(WebCore::CachedResourceRequest::charset):
(WebCore::CachedResourceRequest::setCharset):
(WebCore::CachedResourceRequest::options):
(WebCore::CachedResourceRequest::priority):
(WebCore::CachedResourceRequest::forPreload):
(WebCore::CachedResourceRequest::setForPreload):
(WebCore::CachedResourceRequest::defer):
(WebCore::CachedResourceRequest::setDefer):
* loader/icon/IconLoader.cpp:
(WebCore::IconLoader::startLoading):
* svg/SVGFEImageElement.cpp:
(WebCore::SVGFEImageElement::requestImageResource):
* svg/SVGFontFaceUriElement.cpp:
(WebCore::SVGFontFaceUriElement::loadFont):
* svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::svgAttributeChanged):
* xml/XSLImportRule.cpp:
(WebCore::XSLImportRule::loadSheet):

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