Index: services/dart/content_handler_main.cc |
diff --git a/services/dart/content_handler_main.cc b/services/dart/content_handler_main.cc |
index 4808811deac8c1590d44cd3ae93d00e876dd8a84..a8c6d2a350cbab83ec165fe587b0eba4216e95ba 100644 |
--- a/services/dart/content_handler_main.cc |
+++ b/services/dart/content_handler_main.cc |
@@ -238,7 +238,9 @@ class DartContentHandlerApp : public mojo::ApplicationDelegate { |
// Overridden from ApplicationDelegate: |
bool ConfigureIncomingConnection( |
mojo::ApplicationConnection* connection) override { |
- bool strict = HasStrictQueryParam(connection->GetConnectionURL()); |
+ bool strict = HasStrictQueryParam(connection->GetServiceProviderImpl() |
+ .connection_context() |
+ .connection_url); |
if (default_strict_ || strict) { |
connection->AddService(&strict_content_handler_factory_); |
} else { |