| Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| index 87d0d515b38f97ec0d3333f7def605d26eac153b..4bcb8c64a50114a68bafbd7d272210df4ff084e8 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| @@ -460,10 +460,8 @@ TEST_P(WebViewTest, SetBaseBackgroundColorAndBlendWithExistingContent) {
|
| // Set canvas background to red with alpha.
|
| SkBitmap bitmap;
|
| bitmap.allocN32Pixels(kWidth, kHeight);
|
| - SkCanvas bitmapCanvas(bitmap);
|
| - bitmapCanvas.clear(kAlphaRed);
|
| -
|
| - PaintCanvasPassThrough canvas(&bitmapCanvas);
|
| + SkCanvas canvas(bitmap);
|
| + canvas.clear(kAlphaRed);
|
|
|
| PaintRecordBuilder builder(FloatRect(0, 0, kWidth, kHeight));
|
|
|
|
|