| Index: content/renderer/sad_plugin.cc
|
| diff --git a/content/renderer/sad_plugin.cc b/content/renderer/sad_plugin.cc
|
| index 64588d72d7d8e6f5ef4c0d7f2bde3bda602c6d51..9f1cee156a9f949652336bb573e55662276ee7ab 100644
|
| --- a/content/renderer/sad_plugin.cc
|
| +++ b/content/renderer/sad_plugin.cc
|
| @@ -25,11 +25,11 @@ void PaintSadPlugin(blink::WebCanvas* webcanvas,
|
| // Add a translation so that it appears at the origin of plugin rect.
|
| canvas->translate(plugin_rect.x(), plugin_rect.y());
|
|
|
| - cc::PaintFlags paint;
|
| - paint.setStyle(cc::PaintFlags::kFill_Style);
|
| - paint.setColor(SK_ColorBLACK);
|
| + cc::PaintFlags flags;
|
| + flags.setStyle(cc::PaintFlags::kFill_Style);
|
| + flags.setColor(SK_ColorBLACK);
|
| canvas->drawRectCoords(0, 0, SkIntToScalar(width), SkIntToScalar(height),
|
| - paint);
|
| + flags);
|
| canvas->drawBitmap(
|
| sad_plugin_bitmap,
|
| SkIntToScalar(std::max(0, (width - sad_plugin_bitmap.width()) / 2)),
|
|
|