| Index: Source/core/testing/Internals.cpp | 
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp | 
| index 3a020fbd25abf59ff3d65be557aa0b1cd73ac7d9..7fbc62b38e9121d5d6623d237fa95f2af1035f46 100644 | 
| --- a/Source/core/testing/Internals.cpp | 
| +++ b/Source/core/testing/Internals.cpp | 
| @@ -2375,4 +2375,17 @@ void Internals::setNetworkConnectionInfo(const String& type, ExceptionState& exc | 
| networkStateNotifier().setWebConnectionTypeForTest(webtype); | 
| } | 
|  | 
| +String Internals::serializeNavigationMarkup(Document* document, ExceptionState& exceptionState) | 
| +{ | 
| +    Vector<Document::TransitionElementData> elementData; | 
| +    frame()->document()->getTransitionElementData(elementData, exceptionState); | 
| + | 
| +    String markup; | 
| +    Vector<Document::TransitionElementData>::iterator iter = elementData.begin(); | 
| +    for (; iter != elementData.end(); ++iter) | 
| +        markup = markup + iter->markup; | 
| + | 
| +    return markup; | 
| +} | 
| + | 
| } // namespace WebCore | 
|  |