fix: add more context to SetAcceptEncodings hunk for better matching

- Changed from single line context (}) to 5 lines of context
- Include NS_SUCCEEDED, Assign, return rv, and closing brace
- This prevents fuzzy matching to wrong location
This commit is contained in:
Nirupam Bhowmick
2025-12-26 19:52:43 +00:00
parent d8b1ccf829
commit f85d583d2b
+6 -1
View File
@@ -49,7 +49,12 @@ index d0aebdf965..01472ec205 100644
mAcceptLanguagesIsDirty = false;
@@ -2097,8 +2111,12 @@ }
@@ -2093,8 +2107,12 @@ nsresult nsHttpHandler::SetAcceptLanguages() {
if (NS_SUCCEEDED(rv)) {
mAcceptLanguages.Assign(buf);
}
return rv;
}
nsresult nsHttpHandler::SetAcceptEncodings(const char* aAcceptEncodings,
bool isSecure, bool isDictionary) {