OOPIFs: Deduplicating MHTML parts across frames.
Previous CL (crrev.com/1386873003) made MHTML serialization work in
presence of out-of-process iframes, but can potentially include the same
MHTML part twice. MHTML with duplicated parts can be rendered by Chrome
and Internet Explorer without problems (at least according to the
limited ad-hoc testing I've done), but the unnecessary increase of the
file size is a performance regression.
After the current CL, the browser keeps track of already serialized
MHTML parts and communicates them to the renderer/serializer for
each frame (so they can be deduped). This fixes the issue pointed
out above.
BUG=
538766
Committed:
https://crrev.com/ede9cc06d2550f0ee0dce0285cc88c872809c1bb
Cr-Commit-Position: refs/heads/master@{#367206}