Index: Source/core/inspector/InspectorProfilerAgent.cpp |
diff --git a/Source/core/inspector/InspectorProfilerAgent.cpp b/Source/core/inspector/InspectorProfilerAgent.cpp |
index 8a2a4fa7c78f95646f047eb29d0fbff8afdcd553..4af971556144025a25650620b286b264f090eb91 100644 |
--- a/Source/core/inspector/InspectorProfilerAgent.cpp |
+++ b/Source/core/inspector/InspectorProfilerAgent.cpp |
@@ -134,15 +134,6 @@ bool InspectorProfilerAgent::enabled() |
return m_state->getBoolean(ProfilerAgentState::profilerEnabled); |
} |
-void InspectorProfilerAgent::setSamplingInterval(ErrorString* error, int interval) |
-{ |
- if (m_recordingCPUProfile) { |
- *error = "Cannot change sampling interval when profiling."; |
- return; |
- } |
- ScriptProfiler::setSamplingInterval(interval); |
-} |
- |
String InspectorProfilerAgent::getCurrentUserInitiatedProfileName(bool incrementProfileNumber) |
{ |
if (incrementProfileNumber) |