summaryrefslogtreecommitdiff
path: root/chromium/skia
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-08-26 12:17:21 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-08-26 12:17:55 +0000
commitc3d0bb5bb15d008606b18b865841e19cd9bb5847 (patch)
tree25706f444200c7c4895371e78075b98f6f4c020b /chromium/skia
parent3a97ca8dd9b96b599ae2d33e40df0dd2f7ea5859 (diff)
downloadqtwebengine-chromium-c3d0bb5bb15d008606b18b865841e19cd9bb5847.tar.gz
BASELINE: Update chromium to 45.0.2454.79
Also remove third_party trace-viewer and hunspell again. Change-Id: Iee0b3b27abcef9b1e87a0e39b71f6b785d1d19be Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'chromium/skia')
-rw-r--r--chromium/skia/ext/opacity_filter_canvas.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chromium/skia/ext/opacity_filter_canvas.cc b/chromium/skia/ext/opacity_filter_canvas.cc
index 11c8135d0e1..53d3580069c 100644
--- a/chromium/skia/ext/opacity_filter_canvas.cc
+++ b/chromium/skia/ext/opacity_filter_canvas.cc
@@ -11,11 +11,9 @@ namespace skia {
OpacityFilterCanvas::OpacityFilterCanvas(SkCanvas* canvas,
float opacity,
bool disable_image_filtering)
- : INHERITED(canvas->imageInfo().width(), canvas->imageInfo().height()),
+ : INHERITED(canvas),
alpha_(SkScalarRoundToInt(opacity * 255)),
- disable_image_filtering_(disable_image_filtering) {
- this->addCanvas(canvas);
-}
+ disable_image_filtering_(disable_image_filtering) { }
void OpacityFilterCanvas::onFilterPaint(SkPaint* paint, Type) const {
if (alpha_ < 255)