commit | 36f4eb81d4a791a8e3dfea4ba2418465d30bcc90 | [log] [tgz] |
---|---|---|
author | hajimehoshi <hajimehoshi@chromium.org> | Tue Jul 19 09:59:30 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jul 19 10:02:08 2016 |
tree | d662c705d73f5d27b749ceab15e1f19a481bd093 | |
parent | 96d9e341ccfaff04bd3f0d6163c47ee17e567485 [diff] |
Remove duplication of encoded image data Now there are at least two encoded image data: one is in Image/ImageResource as SharedBuffer and the other is in DeferredImageDecoder as SkRWBuffer. This CL removes former when possible (non-icon bitmaps), and generate the SharedBuffer from the SkRWBuffer if needed. Design Doc: https://docs.google.com/document/d/1v0yTAZ6wkqX2U_M6BNIGUJpM1s0TIw1VsqpxoL7aciY/edit?usp=sharing BUG=618623 TEST=blink_platform_unittests --gtest_filter=BitmapImageTest.*:ImageDecoderTest.* Review-Url: https://codereview.chromium.org/2054643003 Cr-Commit-Position: refs/heads/master@{#406238}