Index: services/python/content_handler/content_handler_main.cc |
diff --git a/services/python/content_handler/content_handler_main.cc b/services/python/content_handler/content_handler_main.cc |
index f52e2f2c86a0109464b0b311dcd97228ddd79a53..be6897dbf8ad6e46a44edf5e62256073d7ece187 100644 |
--- a/services/python/content_handler/content_handler_main.cc |
+++ b/services/python/content_handler/content_handler_main.cc |
@@ -213,7 +213,9 @@ class PythonContentHandlerApp : public ApplicationDelegate { |
private: |
// Overridden from ApplicationDelegate: |
bool ConfigureIncomingConnection(ApplicationConnection* connection) override { |
- if (IsDebug(connection->GetConnectionURL())) |
+ if (IsDebug(connection->GetServiceProviderImpl() |
+ .connection_context() |
+ .connection_url)) |
connection->AddService(&debug_content_handler_factory_); |
else |
connection->AddService(&content_handler_factory_); |