Bug 797893 - Fix trivial warning in ImageBridgeParent.cpp. r=dholbert
authorNicolas Silva <nical.bugzilla@gmail.com>
Fri, 05 Oct 2012 22:46:01 +0200
changeset 112405 b0e7f060ac7a0593dad1c524e057bf3a9e69864d
parent 112389 f4aeed115e54727e034b19815a286f475d9bcc3e
child 112406 12288a8a5037d6389ac228d2972b1219102dfd7d
push id23822
push userryanvm@gmail.com
push dateWed, 07 Nov 2012 02:02:37 +0000
treeherdermozilla-central@351a7925bc5d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs797893
milestone19.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 797893 - Fix trivial warning in ImageBridgeParent.cpp. r=dholbert
gfx/layers/ipc/ImageBridgeParent.cpp
--- a/gfx/layers/ipc/ImageBridgeParent.cpp
+++ b/gfx/layers/ipc/ImageBridgeParent.cpp
@@ -51,17 +51,17 @@ ImageBridgeParent::Create(Transport* aTr
   loop->PostTask(FROM_HERE,
                  NewRunnableFunction(ConnectImageBridgeInParentProcess,
                                      bridge, aTransport, processHandle));
   return bridge;
 }
 
 bool ImageBridgeParent::RecvStop()
 {
-  int numChildren = ManagedPImageContainerParent().Length();
+  unsigned int numChildren = ManagedPImageContainerParent().Length();
   for (unsigned int i = 0; i < numChildren; ++i) {
     static_cast<ImageContainerParent*>(
       ManagedPImageContainerParent()[i]
     )->DoStop();
   }
   return true;
 }