Bug 747545: Uevent Poller causes compile error when built debug due to ScopedClose member change - r=mwu a=b2g-only
authorKyle Machulis <kyle@nonpolynomial.com>
Fri, 20 Apr 2012 18:43:25 -0700
changeset 93880 85a3c4509d2815a6a0ea8960d918af845ef3ba4f
parent 93879 e3c065802a42aaf285d52d3887ab1a15c493c922
child 93881 ba9898675c510fff21c9cae32d3b717a6eb7bdeb
push idunknown
push userunknown
push dateunknown
reviewersmwu, b2g-only
bugs747545
milestone14.0a1
Bug 747545: Uevent Poller causes compile error when built debug due to ScopedClose member change - r=mwu a=b2g-only
hal/gonk/UeventPoller.cpp
--- a/hal/gonk/UeventPoller.cpp
+++ b/hal/gonk/UeventPoller.cpp
@@ -135,17 +135,17 @@ class UeventInitTask : public Task
     }
     sPoller->GetIOLoop()->PostDelayedTask(FROM_HERE, new UeventInitTask(), 1000);
   }
 };
 
 void
 NetlinkPoller::OnFileCanReadWithoutBlocking(int fd)
 {
-  MOZ_ASSERT(fd == mSocket.mFd);
+  MOZ_ASSERT(fd == mSocket.get());
   while (true) {
     int ret = read(fd, mBuffer, kBuffsize);
     if (ret == -1) {
       if (errno == EAGAIN || errno == EWOULDBLOCK) {
         return;
       }
       if (errno == EINTR) {
         continue;