Create SharedImageBackingFactoryAHB only when AHB is supported.
Although the SharedImageBackingFactoryAHB do not perform any AHB related operations in its constructor, we still want its object to be created only when AHB is supported to make sure we are not unnecessarily creating the object and not using it. As an example for Android N, since AHB is not supported, this object will never be used but we were still creating this object. This resulted in crash on android N though actual reason of crash is still unknown. Bug: 1128900 Change-Id: If1e9949c9d415bce0ed856f94c437802c4896ead Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459347 Commit-Queue: vikas soni <vikassoni@chromium.org> Reviewed-by:Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#814958}
Showing
Please register or sign in to comment