Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1272)

Unified Diff: Source/core/inspector/InspectorController.cpp

Issue 146683003: Settings should not call into inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated review comments Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorController.cpp
diff --git a/Source/core/inspector/InspectorController.cpp b/Source/core/inspector/InspectorController.cpp
old mode 100644
new mode 100755
index bd50051316367f9938afd19dfd3bd477c3fb0fd8..abd379942e4e8c2d274af0964508039479ea7ecf
--- a/Source/core/inspector/InspectorController.cpp
+++ b/Source/core/inspector/InspectorController.cpp
@@ -435,4 +435,10 @@ void InspectorController::processGPUEvent(double timestamp, int phase, bool fore
timelineAgent->processGPUEvent(InspectorTimelineAgent::GPUEvent(timestamp, phase, foreign, usedGPUMemoryBytes));
}
+void InspectorController::settingsChanged()
+{
+ if (InspectorPageAgent* pageAgent = m_instrumentingAgents->inspectorPageAgent())
+ pageAgent->settingsChanged();
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698