ui: Disallow software-backed TransferableResources in ui::Layer.
The SetTransferableResource path used to be used for renderer compositor frames, but those go directly to the display compositor now. Instead it is used in a couple ChromeOS-specific cases: reflector, and rotation animation, where ChromeOS takes a screenshot and inserts it into another ui::Compositor. Since software resources aren't needed, document this in a comment, and with a DCHECK, and then no need to add SharedBitmapId registration code. R=kylechar@chromium.org Bug: 730660 Change-Id: I1312c4e58a84431bad1d4c5e23432784ccd206fa Reviewed-on: https://chromium-review.googlesource.com/987113 Commit-Queue: Antoine Labour <piman@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#547531}
Showing
Please register or sign in to comment