Index: Source/core/inspector/InspectorLayerTreeAgent.cpp |
diff --git a/Source/core/inspector/InspectorLayerTreeAgent.cpp b/Source/core/inspector/InspectorLayerTreeAgent.cpp |
index 40d0d35c7184d2a528326bbbfc78d5d81a34d7d1..d4f502156d4f33a9f8170efc3306598e050d86b1 100644 |
--- a/Source/core/inspector/InspectorLayerTreeAgent.cpp |
+++ b/Source/core/inspector/InspectorLayerTreeAgent.cpp |
@@ -382,12 +382,12 @@ void InspectorLayerTreeAgent::profileSnapshot(ErrorString* errorString, const St |
} |
} |
-void InspectorLayerTreeAgent::snapshotCommandLog(ErrorString* errorString, const String& snapshotId, RefPtr<TypeBuilder::Array<JSONObject> >& commandLog) |
+void InspectorLayerTreeAgent::snapshotCommandLog(ErrorString* errorString, const String& snapshotId, const int* fromStep, const int* toStep, RefPtr<TypeBuilder::Array<JSONObject> >& commandLog) |
{ |
const GraphicsContextSnapshot* snapshot = snapshotById(errorString, snapshotId); |
if (!snapshot) |
return; |
- commandLog = TypeBuilder::Array<JSONObject>::runtimeCast(snapshot->snapshotCommandLog()); |
+ commandLog = TypeBuilder::Array<JSONObject>::runtimeCast(snapshot->snapshotCommandLog(fromStep ? *fromStep : 0, toStep ? *toStep : 0)); |
} |
void InspectorLayerTreeAgent::willAddPageOverlay(const GraphicsLayer* layer) |