| Index: chrome/utility/image_decoder_impl_unittest.cc
|
| diff --git a/chrome/utility/image_decoder_impl_unittest.cc b/chrome/utility/image_decoder_impl_unittest.cc
|
| index 45f257c8699d5258d85c293186315bbe882d7369..c0a1b5ffbc48b633151ebb2ad58afca4d4b47efb 100644
|
| --- a/chrome/utility/image_decoder_impl_unittest.cc
|
| +++ b/chrome/utility/image_decoder_impl_unittest.cc
|
| @@ -46,15 +46,15 @@ class Request {
|
| shrink, base::Bind(&Request::OnRequestDone, base::Unretained(this)));
|
| }
|
|
|
| - const skia::mojom::BitmapPtr& bitmap() const { return bitmap_; }
|
| + const blink::mojom::BitmapPtr& bitmap() const { return bitmap_; }
|
|
|
| private:
|
| - void OnRequestDone(skia::mojom::BitmapPtr result_image) {
|
| + void OnRequestDone(blink::mojom::BitmapPtr result_image) {
|
| bitmap_ = std::move(result_image);
|
| }
|
|
|
| ImageDecoderImpl* decoder_;
|
| - skia::mojom::BitmapPtr bitmap_;
|
| + blink::mojom::BitmapPtr bitmap_;
|
| };
|
|
|
| } // namespace
|
| @@ -70,7 +70,7 @@ TEST(ImageDecoderImplTest, DecodeImageSizeLimit) {
|
| // Approx max height for 3:2 image that will fit in IPC message;
|
| // 1.5 for width/height ratio, 4 for bytes/pixel
|
| int max_height_for_msg = sqrt(kTestMessageSize / (1.5 * 4));
|
| - int base_msg_size = sizeof(skia::mojom::Bitmap::Data_);
|
| + int base_msg_size = sizeof(blink::mojom::Bitmap::Data_);
|
|
|
| // Sizes which should trigger dimension-halving 0, 1 and 2 times
|
| int heights[] = {max_height_for_msg - 10,
|
|
|