Index: Source/core/inspector/InspectorController.cpp |
diff --git a/Source/core/inspector/InspectorController.cpp b/Source/core/inspector/InspectorController.cpp |
index 701dcaa07b51a04bab90b9ce720d22bacfaa30aa..22b342c7ca3c19eec57e247c165a1f7177c8a3f7 100644 |
--- a/Source/core/inspector/InspectorController.cpp |
+++ b/Source/core/inspector/InspectorController.cpp |
@@ -453,4 +453,10 @@ void InspectorController::processGPUEvent(double timestamp, int phase, bool fore |
timelineAgent->processGPUEvent(InspectorTimelineAgent::GPUEvent(timestamp, phase, foreign, usedGPUMemoryBytes)); |
} |
+void InspectorController::scriptsEnabled(bool enabled) |
+{ |
+ if (InspectorPageAgent* pageAgent = m_instrumentingAgents->inspectorPageAgent()) |
+ pageAgent->scriptsEnabled(enabled); |
+} |
+ |
} // namespace WebCore |