{"push_id":696034137,"size":1,"distinct_size":1,"ref":"refs/heads/chrome/m44","head":"1946752050022afad306c9eb7140488d0edea7a9","before":"cc124276a29275f09c7ee294e60ad7fcd9ca317a","commits":[{"sha":"1946752050022afad306c9eb7140488d0edea7a9","author":{"email":"f3637a096339da458baf3149581fbd4001a43e6c@chriomium.org","name":"Justin Novosad"},"message":"Fixing leaky handling of SkImage in SkDeferredCanvas.\n\nLong lived SkImageHeap objects currently accumulate refs indefinitely.\nThis leads to massive memory leaks in the gpu-accelerated 2D canvas\ncode path. This CL does not implement a general fix for SkGPipe, but\nit resolves the leak in SkDeferredCanvas (currently the only user\nof SkGPipe) by resetting the image heap when the deferral queue is\nflushed. This change also fixes the accounting of bytes allocated\nby referenced images in order to trigger flushing heuristics\nappropriately.\n\nBUG=crbug.com/494148\n\nReview URL: https://codereview.chromium.org/1145893007\n\n(cherry picked from commit d26c9fa66c45b5a050580772acfbcc1b5271543e)\nNOTREECHECKS=true\nNOTRY=true\n\nReview URL: https://codereview.chromium.org/1190583002.","distinct":true,"url":"https://api.github.com/repos/google/skia/commits/1946752050022afad306c9eb7140488d0edea7a9"}]}