| Index: third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp | 
| diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp b/third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp | 
| index 92eaeb32698f705e00b349bcd2e521aeb769c4c4..b5d7a9d326369a52689ce5a6a09e601e67560d54 100644 | 
| --- a/third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp | 
| +++ b/third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp | 
| @@ -29,6 +29,7 @@ | 
| #include "core/loader/FrameLoaderStateMachine.h" | 
|  | 
| #include "wtf/Assertions.h" | 
| +#include "wtf/text/WTFString.h" | 
|  | 
| namespace blink { | 
|  | 
| @@ -64,4 +65,21 @@ void FrameLoaderStateMachine::advanceTo(State state) | 
| m_state = state; | 
| } | 
|  | 
| +String FrameLoaderStateMachine::toString() const | 
| +{ | 
| +    switch (m_state) { | 
| +    case CreatingInitialEmptyDocument: | 
| +        return "CreatingInitialEmptyDocument"; | 
| +    case DisplayingInitialEmptyDocument: | 
| +        return "DisplayingInitialEmptyDocument"; | 
| +    case CommittedFirstRealLoad: | 
| +        return "CommittedFirstRealLoad"; | 
| +    case CommittedMultipleRealLoads: | 
| +        return "CommittedMultipleRealLoads"; | 
| +    default: | 
| +        ASSERT_NOT_REACHED(); | 
| +    } | 
| +    return ""; | 
| +} | 
| + | 
| } // namespace blink | 
|  |