Bug 731656 - build broken since bug 728912 landed [r=philikon]

This commit is contained in:
Fabrice Desré 2012-02-29 10:44:05 -08:00
parent 345eafc0b0
commit 5024fe3509
2 changed files with 2 additions and 4 deletions

View File

@ -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;
}
}

View File

@ -47,8 +47,6 @@ namespace base {
class MessageLoop;
}
class nsIThread;
namespace mozilla {
namespace ipc {