зеркало из https://github.com/mozilla/gecko-dev.git
Bug 731656 - build broken since bug 728912 landed [r=philikon]
This commit is contained in:
Родитель
8de602546b
Коммит
f97e218739
|
@ -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 {
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче