Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/filters/SourceAlpha.cpp

Issue 1860903002: Update Source/platform/ to assume Oilpan only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back out ScrollAnimatorMac() accidental change Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 11 matching lines...) Expand all
22 22
23 #include "platform/graphics/filters/Filter.h" 23 #include "platform/graphics/filters/Filter.h"
24 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" 24 #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
25 #include "platform/text/TextStream.h" 25 #include "platform/text/TextStream.h"
26 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h" 26 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h"
27 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" 27 #include "third_party/skia/include/effects/SkColorMatrixFilter.h"
28 #include "wtf/text/WTFString.h" 28 #include "wtf/text/WTFString.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 RawPtr<SourceAlpha> SourceAlpha::create(FilterEffect* sourceEffect) 32 SourceAlpha* SourceAlpha::create(FilterEffect* sourceEffect)
33 { 33 {
34 return new SourceAlpha(sourceEffect); 34 return new SourceAlpha(sourceEffect);
35 } 35 }
36 36
37 SourceAlpha::SourceAlpha(FilterEffect* sourceEffect) 37 SourceAlpha::SourceAlpha(FilterEffect* sourceEffect)
38 : FilterEffect(sourceEffect->getFilter()) 38 : FilterEffect(sourceEffect->getFilter())
39 { 39 {
40 setOperatingColorSpace(sourceEffect->operatingColorSpace()); 40 setOperatingColorSpace(sourceEffect->operatingColorSpace());
41 inputEffects().append(sourceEffect); 41 inputEffects().append(sourceEffect);
42 } 42 }
(...skipping 17 matching lines...) Expand all
60 } 60 }
61 61
62 TextStream& SourceAlpha::externalRepresentation(TextStream& ts, int indent) cons t 62 TextStream& SourceAlpha::externalRepresentation(TextStream& ts, int indent) cons t
63 { 63 {
64 writeIndent(ts, indent); 64 writeIndent(ts, indent);
65 ts << "[SourceAlpha]\n"; 65 ts << "[SourceAlpha]\n";
66 return ts; 66 return ts;
67 } 67 }
68 68
69 } // namespace blink 69 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698