Chromium Code Reviews
        
  DescriptionIntroduce NaClFileInfoAutoCloser as an RAII wrapper.
This eliminates two descriptor leaks -- the downloaded nmf file, and
the nexe itself.  One socket (on Linux) still leak.  Because Unixes
always use the lowest available number and the leaked descriptor is
the highest numbered one while the F@H nexe is running, this implies
that this might be a PPAPI proxy related leak, since proxy hookup is
the last thing that happens before the application itself runs.
See /home/bsy/fd-leak-log for time-lapsed view of what happens when a
F@H NaCl module finishes and another starts up.
TEST= manually running F@H and checking /proc/<renderer>/fd/*
BUG=335186
R=bbudge@chromium.org, dmichael@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247794
   
  Patch Set 1 #Patch Set 2 : rebase #
      Total comments: 18
      
     
  
  
  
  Patch Set 3 : CR feedback; restored mysteriously missing changes in plugin.cc #Patch Set 4 : struct/class fix for NaClFileInfoAutoCloser #Patch Set 5 : failed upload?!? #
      Total comments: 6
      
     
  
  
  
  Patch Set 6 : info_.desc -> get_desc() accessor consistency #Patch Set 7 : bbudge CR fb #
 Messages
    Total messages: 8 (0 generated)
     
  
  
       | 
    ||||||||||||||||||||||||||||||||||||||||||||||