Unreviewed rebaseline after http://trac.webkit.org/changeset/131974.

* platform/chromium-linux-x86/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Removed.
* platform/chromium-linux-x86/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
* platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
* platform/chromium-mac-lion/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-with-transformation-expected.png:
* platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
* platform/chromium-mac/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac/svg/custom/pattern-skew-transformed-expected.png:
* platform/chromium-win-xp/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
* platform/chromium-win-xp/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/chromium-win-xp/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-win-xp/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/chromium-win-xp/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-win-xp/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Add missing expectations for some tests in svg/custom.

* platform/efl/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/efl/svg/custom/js-late-pattern-creation-expected.txt: Added.
* platform/efl/svg/custom/pattern-skew-transformed-expected.png: Added.
* platform/efl/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/efl/svg/custom/pattern-with-transformation-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LLInt backends of non-ARM RISC platforms should be able to share code with the existing ARMv7 backend
https://bugs.webkit.org/show_bug.cgi?id=99745

Reviewed by Geoffrey Garen.

This moves all of the things in armv7.rb that I thought are generally useful out
into risc.rb. It also separates some phases (branch ops is separated into one
phase that does sensible things, and another that does things that are painfully
ARM-specific), and removes ARM assumptions from others by using a callback to
drive exactly what lowering must happen. The goal here is to minimize the future
maintenance burden of LLInt by ensuring that the various platforms share as much
lowering code as possible.

* offlineasm/armv7.rb:
* offlineasm/risc.rb: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove ::encode template specializations and just use overloads
https://bugs.webkit.org/show_bug.cgi?id=99865

Reviewed by Andreas Kling.

Get rid of the various encode functions and just use overloading instead.

* Platform/CoreIPC/ArgumentCoders.cpp:
(CoreIPC::::encode):
* Platform/CoreIPC/ArgumentCoders.h:
* Platform/CoreIPC/ArgumentEncoder.cpp:
(CoreIPC::ArgumentEncoder::encodeVariableLengthByteArray):
(CoreIPC::ArgumentEncoder::encode):
* Platform/CoreIPC/ArgumentEncoder.h:
(ArgumentEncoder):
(CoreIPC::ArgumentEncoder::encodeEnum):
* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::sendOutgoingMessage):
* Platform/mac/SharedMemoryMac.cpp:
(WebKit::SharedMemory::Handle::encode):
* Platform/win/SharedMemoryWin.cpp:
(WebKit::SharedMemory::Handle::encode):
* Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
(CoreIPC::::encode):
* Shared/DictionaryPopupInfo.cpp:
(WebKit::DictionaryPopupInfo::encode):
* Shared/Plugins/NPIdentifierData.cpp:
(WebKit::NPIdentifierData::encode):
(WebKit::NPIdentifierData::decode):
* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode):
* Shared/WebCoreArgumentCoders.cpp:
(CoreIPC::::encode):
* Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode):
* Shared/cf/ArgumentCodersCF.cpp:
(CoreIPC::encode):
* Shared/mac/ArgumentCodersMac.mm:
(CoreIPC::encode):
* Shared/mac/KeychainAttribute.cpp:
(CoreIPC::encode):
* Shared/mac/PlatformCertificateInfo.mm:
(WebKit::PlatformCertificateInfo::encode):
* Shared/mac/SandboxExtensionMac.mm:
(WebKit::SandboxExtension::HandleArray::encode):
* Shared/mac/SecItemRequestData.cpp:
(WebKit::SecItemRequestData::encode):
* Shared/mac/SecItemResponseData.cpp:
(WebKit::SecItemResponseData::encode):
* Shared/mac/SecKeychainItemRequestData.cpp:
(WebKit::SecKeychainItemRequestData::encode):
* Shared/mac/SecKeychainItemResponseData.cpp:
(WebKit::SecKeychainItemResponseData::encode):
* Shared/qt/ArgumentCodersQt.cpp:
(CoreIPC::::encode):
* Shared/qt/QtNetworkReplyData.cpp:
(WebKit::QtNetworkReplyData::encode):
* Shared/soup/PlatformCertificateInfo.cpp:
(WebKit::PlatformCertificateInfo::encode):
* Shared/win/LayerTreeContextWin.cpp:
(WebKit::LayerTreeContext::encode):
* Shared/win/PlatformCertificateInfo.cpp:
(WebKit::PlatformCertificateInfo::encode):
* Shared/win/WindowGeometry.cpp:
(WebKit::WindowGeometry::encode):
* WebProcess/WebPage/EncoderAdapter.cpp:
(WebKit::EncoderAdapter::encodeBool):
(WebKit::EncoderAdapter::encodeUInt16):
(WebKit::EncoderAdapter::encodeUInt32):
(WebKit::EncoderAdapter::encodeUInt64):
(WebKit::EncoderAdapter::encodeInt32):
(WebKit::EncoderAdapter::encodeInt64):
(WebKit::EncoderAdapter::encodeFloat):
(WebKit::EncoderAdapter::encodeDouble):
(WebKit::EncoderAdapter::encodeString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][DRT] Implement tracking and painting repaint rectangles.
https://bugs.webkit.org/show_bug.cgi?id=99838

Reviewed by Gyuyoung Kim.

Source/WebKit/efl: 

Add the required DumpRenderTreeSupport plumbing functions to
interact with FrameView and track/obtain repaint rectangles for
DumpRenderTree.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled):
(DumpRenderTreeSupportEfl::setTracksRepaints):
(DumpRenderTreeSupportEfl::resetTrackedRepaints):
(DumpRenderTreeSupportEfl::isTrackingRepaints):
(DumpRenderTreeSupportEfl::trackedRepaintRects):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools: 

Implement displayWebView() and start tracking/painting the repaint
rectangles for the repaint tests that rely on it.

* DumpRenderTree/efl/DumpRenderTree.cpp:
(displayWebView):
* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
* DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
(createBitmapContextFromWebView):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] m_mainFrame should be null checked before use in WebPagePrivate destructor
https://bugs.webkit.org/show_bug.cgi?id=99916

Patch by Andrew Lo <anlo@rim.com> on 2012-10-20
Reviewed by George Staikos.
Internally reviewed by Arvid Nilsson.

Internal PR228029
Add null checks for m_mainFrame for things that happen during
WebPage destruction.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setVisible):
(BlackBerry::WebKit::WebPagePrivate::setCompositorDrawsRootLayer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clean up QualifiedName-as-hash-key scenario.
<http://webkit.org/b/99394>

Reviewed by Anders Carlsson.

Cache the hash on QualifiedNameImpl after the first time it's computed.
This grows QualifiedNameImpl by 4 bytes on 32-bit (no change on 64-bit due to base class padding)
which I believe is fine, since QualifiedName is a shared object.

Add a global nullQName() function that returns a QualifiedName(nullAtom, nullAtom, nullAtom)
and use this to implement HashTraits<QualifiedName>::emptyValue(). The old implementation would
create a new QualifiedName(nullAtom, nullAtom, nullAtom) each time, which had to be hashed,
added to  the global QualifiedName cache, etc.

Finally, don't have SVGAttributeHashTranslator create a temporary QualifiedName just to compute
the hash of a (namespace, prefix, localName) tuple, use QualifiedNameComponents and hashComponents()
directly instead.

Altogether this shaves ~100ms off of the RoboHornet svgresize.html benchmark on my MBP.

* dom/QualifiedName.cpp:
(WebCore::nullQName):
(WebCore::QualifiedName::QualifiedNameImpl::computeHash):
* dom/QualifiedName.h:
(QualifiedNameImpl):
(WebCore::QualifiedName::QualifiedNameImpl::QualifiedNameImpl):
(WebCore::QualifiedNameHash::hash):
* svg/SVGElement.h:
(WebCore::SVGAttributeHashTranslator::hash):

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