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 92060 85a3c4509d2815a6a0ea8960d918af845ef3ba4f
parent 92059 e3c065802a42aaf285d52d3887ab1a15c493c922
child 92061 ba9898675c510fff21c9cae32d3b717a6eb7bdeb
push id8533
push userkmachulis@mozilla.com
push dateSat, 21 Apr 2012 01:43:53 +0000
treeherdermozilla-inbound@85a3c4509d28 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmwu, b2g-only
bugs747545
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;