summaryrefslogtreecommitdiff
path: root/chromium/ui/views/background.cc
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@theqtcompany.com>2014-12-05 15:04:29 +0100
committerAndras Becsi <andras.becsi@theqtcompany.com>2014-12-09 10:49:28 +0100
commitaf6588f8d723931a298c995fa97259bb7f7deb55 (patch)
tree060ca707847ba1735f01af2372e0d5e494dc0366 /chromium/ui/views/background.cc
parent2fff84d821cc7b1c785f6404e0f8091333283e74 (diff)
downloadqtwebengine-chromium-af6588f8d723931a298c995fa97259bb7f7deb55.tar.gz
BASELINE: Update chromium to 40.0.2214.28 and ninja to 1.5.3.
Change-Id: I759465284fd64d59ad120219cbe257f7402c4181 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'chromium/ui/views/background.cc')
-rw-r--r--chromium/ui/views/background.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/ui/views/background.cc b/chromium/ui/views/background.cc
index bb2ddd0928e..0fbd0ecbebe 100644
--- a/chromium/ui/views/background.cc
+++ b/chromium/ui/views/background.cc
@@ -22,7 +22,7 @@ class SolidBackground : public Background {
SetNativeControlColor(color);
}
- virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE {
+ void Paint(gfx::Canvas* canvas, View* view) const override {
// Fill the background. Note that we don't constrain to the bounds as
// canvas is already clipped for us.
canvas->DrawColor(get_color());
@@ -39,13 +39,12 @@ class BackgroundPainter : public Background {
DCHECK(painter);
}
- virtual ~BackgroundPainter() {
+ ~BackgroundPainter() override {
if (owns_painter_)
delete painter_;
}
-
- virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE {
+ void Paint(gfx::Canvas* canvas, View* view) const override {
Painter::PaintPainterAt(canvas, painter_, view->GetLocalBounds());
}