| Index: Source/core/inspector/TimelineRecordFactory.cpp
|
| diff --git a/Source/core/inspector/TimelineRecordFactory.cpp b/Source/core/inspector/TimelineRecordFactory.cpp
|
| index 4c4189d82d9d06559cc5540a86873d52566db3c5..a60515b045844a83b820961d771620d58d418923 100644
|
| --- a/Source/core/inspector/TimelineRecordFactory.cpp
|
| +++ b/Source/core/inspector/TimelineRecordFactory.cpp
|
| @@ -254,6 +254,13 @@ PassRefPtr<JSONObject> TimelineRecordFactory::createPaintData(const FloatQuad& q
|
| return data.release();
|
| }
|
|
|
| +PassRefPtr<JSONObject> TimelineRecordFactory::createFrameData(int frameId)
|
| +{
|
| + RefPtr<JSONObject> data = JSONObject::create();
|
| + data->setNumber("id", frameId);
|
| + return data.release();
|
| +}
|
| +
|
| void TimelineRecordFactory::appendLayoutRoot(JSONObject* data, const FloatQuad& quad, long long rootNodeId)
|
| {
|
| data->setArray("root", createQuad(quad));
|
|
|