зеркало из https://github.com/mozilla/gecko-dev.git
bug=40088
r=edburns sr=shaver Author = Xiaobin Lu.
This commit is contained in:
Родитель
30455c891c
Коммит
00e236caf0
|
@ -3683,7 +3683,7 @@ NS_IMETHODIMP nsPluginHostImpl::GetCookie(const char* inCookieURL, void* inOutCo
|
|||
rv = cookieService->GetCookieString(uriIn, cookieString);
|
||||
|
||||
if (NS_FAILED(rv) ||
|
||||
(((PRInt32) inOutCookieSize) < cookieString.Length())) {
|
||||
(inOutCookieSize < cookieString.Length())) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
bufPtr = cookieString.ToCString((char *) inOutCookieBuffer,
|
||||
|
|
|
@ -3683,7 +3683,7 @@ NS_IMETHODIMP nsPluginHostImpl::GetCookie(const char* inCookieURL, void* inOutCo
|
|||
rv = cookieService->GetCookieString(uriIn, cookieString);
|
||||
|
||||
if (NS_FAILED(rv) ||
|
||||
(((PRInt32) inOutCookieSize) < cookieString.Length())) {
|
||||
(inOutCookieSize < cookieString.Length())) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
bufPtr = cookieString.ToCString((char *) inOutCookieBuffer,
|
||||
|
|
Загрузка…
Ссылка в новой задаче