Chromium Code Reviews
        
  DescriptionReplaced RefPtr::release with std::move in Source/wtf.
Part of the removal of PassRefPtr.
Replaces call to RefPtr::release with a std::move wrap,
which returns a RefPtr instead of a PassRefPtr. As the code currently
stands, the method return type is still a PassRefPtr, and so the
PassRefPtr initialising constructor will be called passing in the
RefPtr rvalue, which calls RefPtr::release anyway.
Future patches will see these variables changed from PassRefPtr to
RefPtr type then RefPtr::release will not be used at all.
Does not handle RefPtr::release of non member variables in return
statements as these cases sometimes default to move (in the case of 
returning a local variable). These will be handled in future patches.
BUG=494719
Review-Url: https://codereview.chromium.org/2628763002
Cr-Commit-Position: refs/heads/master@{#443402}
Committed: https://chromium.googlesource.com/chromium/src/+/4c98cd46c28088618ae90963e1d3708b6508f093
   
  Patch Set 1 #
 Messages
    Total messages: 14 (10 generated)
     
  
  
       | 
    |||||||||||||||||||