Chromium Code Reviews| Index: Source/core/inspector/TimelineRecordFactory.cpp |
| diff --git a/Source/core/inspector/TimelineRecordFactory.cpp b/Source/core/inspector/TimelineRecordFactory.cpp |
| index 5c6f757f26dcf7be3d8bb4a5a6022d2a2b794d7b..e7eb3c2255623ec5fc23e32c3ad94a6479203b1c 100644 |
| --- a/Source/core/inspector/TimelineRecordFactory.cpp |
| +++ b/Source/core/inspector/TimelineRecordFactory.cpp |
| @@ -324,5 +324,12 @@ PassRefPtr<JSONObject> TimelineRecordFactory::createEmbedderCallbackData(const S |
| return data.release(); |
| } |
| +String TimelineRecordFactory::type(TypeBuilder::Timeline::TimelineEvent* event) |
| +{ |
| + String type; |
| + event->type(&type); |
| + return type; |
| +} |
| + |
| } // namespace WebCore |