Chromium Code Reviews| Index: Source/core/inspector/TimelineRecordFactory.cpp |
| diff --git a/Source/core/inspector/TimelineRecordFactory.cpp b/Source/core/inspector/TimelineRecordFactory.cpp |
| index a60515b045844a83b820961d771620d58d418923..f8e28544115935376799dbafc8aa2cd82588cc5e 100644 |
| --- a/Source/core/inspector/TimelineRecordFactory.cpp |
| +++ b/Source/core/inspector/TimelineRecordFactory.cpp |
| @@ -220,6 +220,13 @@ PassRefPtr<JSONObject> TimelineRecordFactory::createAnimationFrameData(int callb |
| return data.release(); |
| } |
| +PassRefPtr<JSONObject> TimelineRecordFactory::createGPUTaskData(unsigned ownerPId) |
| +{ |
| + RefPtr<JSONObject> data = JSONObject::create(); |
| + data->setNumber("ownerPId", ownerPId); |
|
caseq
2013/11/06 16:40:31
PID
|
| + return data.release(); |
| +} |
| + |
| static PassRefPtr<JSONArray> createQuad(const FloatQuad& quad) |
| { |
| RefPtr<JSONArray> array = JSONArray::create(); |