DescriptionGallery: Obtain metadata from MetadataCache when saving items.
Previously, when saving items, the new metadata was generated by
GalleryDataModel. But the generated metadata was broken and it contained old
thumbnail data that causes memory shortage.
The metadata for new items can be otained by using normal code path
(MetadataCache), so the CL removes special geneartion of metadata for new items
and let Gallery obtain the metadata by using MeatadataCache.
BUG=439898
TEST=GalleryJsTest.GalleryItemTest
Committed: https://crrev.com/699c53ebb13827f09e6cb5d4564f69da03d58692
Cr-Commit-Position: refs/heads/master@{#310205}
Patch Set 1 : #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 11 (4 generated)
|