From 5024fe3509ad14efcf4f8855f86eba858440279f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20Desr=C3=A9?= Date: Wed, 29 Feb 2012 10:44:05 -0800 Subject: [PATCH] Bug 731656 - build broken since bug 728912 landed [r=philikon] --- ipc/ril/Ril.cpp | 4 ++-- ipc/ril/Ril.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ipc/ril/Ril.cpp b/ipc/ril/Ril.cpp index cf07251ec69..4146252a558 100644 --- a/ipc/ril/Ril.cpp +++ b/ipc/ril/Ril.cpp @@ -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; } } diff --git a/ipc/ril/Ril.h b/ipc/ril/Ril.h index 05c92874636..c9fc5fd1e90 100644 --- a/ipc/ril/Ril.h +++ b/ipc/ril/Ril.h @@ -47,8 +47,6 @@ namespace base { class MessageLoop; } -class nsIThread; - namespace mozilla { namespace ipc {