mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 731656 - build broken since bug 728912 landed [r=philikon]
This commit is contained in:
parent
345eafc0b0
commit
5024fe3509
@ -233,7 +233,7 @@ RilClient::OnFileCanReadWithoutBlocking(int fd)
|
||||
while (true) {
|
||||
if (!mIncoming) {
|
||||
mIncoming = new RilRawData();
|
||||
int ret = read(fd, mIncoming->mData, RilRawData.MAX_DATA_SIZE);
|
||||
int ret = read(fd, mIncoming->mData, RilRawData::MAX_DATA_SIZE);
|
||||
if (ret <= 0) {
|
||||
LOG("Cannot read from network, error %d\n", ret);
|
||||
// At this point, assume that we can't actually access
|
||||
@ -247,7 +247,7 @@ RilClient::OnFileCanReadWithoutBlocking(int fd)
|
||||
}
|
||||
mIncoming->mSize = ret;
|
||||
sConsumer->MessageReceived(mIncoming.forget());
|
||||
if (ret < RilRawData.MAX_DATA_SIZE) {
|
||||
if (ret < RilRawData::MAX_DATA_SIZE) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -47,8 +47,6 @@ namespace base {
|
||||
class MessageLoop;
|
||||
}
|
||||
|
||||
class nsIThread;
|
||||
|
||||
namespace mozilla {
|
||||
namespace ipc {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user