| Index: webrtc/base/proxydetect.cc
|
| diff --git a/webrtc/base/proxydetect.cc b/webrtc/base/proxydetect.cc
|
| index 30959ca1d3f14198cd14597140e9a51cc9ad814e..94ce6219130c713a4140b534c20c85209947eca7 100644
|
| --- a/webrtc/base/proxydetect.cc
|
| +++ b/webrtc/base/proxydetect.cc
|
| @@ -391,6 +391,8 @@ bool GetFirefoxProfilePath(Pathname* path) {
|
| path->AppendFolder("Mozilla");
|
| path->AppendFolder("Firefox");
|
| #elif defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
|
| + #pragma clang diagnostic push
|
| + #pragma clang diagnostic ignored "-Wdeprecated"
|
| FSRef fr;
|
| if (0 != FSFindFolder(kUserDomain, kApplicationSupportFolderType,
|
| kCreateFolder, &fr)) {
|
| @@ -405,6 +407,7 @@ bool GetFirefoxProfilePath(Pathname* path) {
|
| }
|
| path->SetFolder(std::string(buffer));
|
| path->AppendFolder("Firefox");
|
| + #pragma clang diagnostic pop
|
| #else
|
| char* user_home = getenv("HOME");
|
| if (user_home == NULL) {
|
|
|