Fix the background of the placeholder.

Draw a light gray 1 pixel border instead of using an asset.

Bug: 2411524
Change-Id: Ibc95148e2bf13e0dcc58d747e3733cc6993dddf6
diff --git a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
index 677f0da..b0b9b35 100644
--- a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
@@ -1027,10 +1027,8 @@
         // with slight modification.
 
         static RefPtr<Image> image;
-        static RefPtr<Image> bg;
-        if (!image || !bg) {
+        if (!image) {
             image = Image::loadPlatformResource("togglePlugin");
-            bg = Image::loadPlatformResource("togglePluginBg");
         }
 
         IntRect imageRect(x(), y(), image->width(), image->height());
@@ -1050,8 +1048,13 @@
 
         ctx->save();
         ctx->clip(frameRect());
-        ctx->drawTiledImage(bg.get(), DeviceColorSpace, frameRect(),
-                IntPoint(), IntSize(bg->width(), bg->height()));
+
+        // Draw a 1 pixel light gray border
+        ctx->setFillColor(Color::white, DeviceColorSpace);
+        ctx->setStrokeColor(Color::lightGray, DeviceColorSpace);
+        ctx->drawRect(frameRect());
+
+        // Draw the image in the center
         ctx->drawImage(image.get(), DeviceColorSpace, imageRect.location());
         ctx->restore();
     }