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 95381 85a3c4509d2815a6a0ea8960d918af845ef3ba4f
parent 95380 e3c065802a42aaf285d52d3887ab1a15c493c922
child 95382 ba9898675c510fff21c9cae32d3b717a6eb7bdeb
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [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;