Initial WebImageLayer::setImage() implementation
commitd7a6aa72d4c573fa0dd527cae0bf94403978ae33
authorfmalita <fmalita@chromium.org>
Sat, 1 Aug 2015 00:01:19 +0000 (31 17:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 1 Aug 2015 00:01:53 +0000 (1 00:01 +0000)
tree2b6720a9b619474ad30c90aa144730cdf97ad11b
parent640590d4170cd3d2ac9dec78d655ef064ec1b4a0
Initial WebImageLayer::setImage() implementation

Add an initial implementation for the new WebImageLayer method.  For now
it just calls back to setBitmap(), performing the same SkImage->SkBitmap
conversion as Image::deprecatedBitmapForCurrentFrame() currently used by
Blink.

BUG=515935
R=danakj@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1264013006

Cr-Commit-Position: refs/heads/master@{#341442}
cc/blink/web_image_layer_impl.cc
cc/blink/web_image_layer_impl.h
cc/layers/picture_image_layer.cc
cc/layers/picture_image_layer.h