diff --git a/atom/renderer/api/atom_api_web_frame.cc b/atom/renderer/api/atom_api_web_frame.cc index 5daea0da639..29483e0dce2 100644 --- a/atom/renderer/api/atom_api_web_frame.cc +++ b/atom/renderer/api/atom_api_web_frame.cc @@ -284,7 +284,7 @@ void WebFrame::RegisterURLSchemeAsPrivileged(const std::string& scheme, privileged_scheme); } if (corsEnabled) { - url::AddCORSEnabledScheme(scheme.c_str()); + url::AddCorsEnabledScheme(scheme.c_str()); } }