| Index: chrome_frame/test/net/test_automation_provider.cc
|
| diff --git a/chrome_frame/test/net/test_automation_provider.cc b/chrome_frame/test/net/test_automation_provider.cc
|
| index 446e041d8b5aae0d4c249075f83635ae1d5f3058..05c384557e30e1d1c028f423ae0ecbd4e79866bc 100644
|
| --- a/chrome_frame/test/net/test_automation_provider.cc
|
| +++ b/chrome_frame/test/net/test_automation_provider.cc
|
| @@ -35,10 +35,10 @@ TestAutomationProvider::TestAutomationProvider(
|
| // ensure that we don't inadvarently end up handling http requests which
|
| // we don't expect. The initial chrome frame page for the network tests
|
| // issues http requests which our test factory should not handle.
|
| - net::URLRequest::RegisterProtocolFactory("http",
|
| - TestAutomationProvider::Factory);
|
| - net::URLRequest::RegisterProtocolFactory("https",
|
| - TestAutomationProvider::Factory);
|
| + net::URLRequest::Deprecated::RegisterProtocolFactory(
|
| + "http", TestAutomationProvider::Factory);
|
| + net::URLRequest::Deprecated::RegisterProtocolFactory(
|
| + "https", TestAutomationProvider::Factory);
|
| automation_resource_message_filter_ =
|
| new TestAutomationResourceMessageFilter(this);
|
| g_provider_instance_ = this;
|
|
|