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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/filters/FEBlend.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) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) 6 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 19 matching lines...) Expand all
30 #include "platform/text/TextStream.h" 30 #include "platform/text/TextStream.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 FEBlend::FEBlend(Filter* filter, WebBlendMode mode) 34 FEBlend::FEBlend(Filter* filter, WebBlendMode mode)
35 : FilterEffect(filter) 35 : FilterEffect(filter)
36 , m_mode(mode) 36 , m_mode(mode)
37 { 37 {
38 } 38 }
39 39
40 RawPtr<FEBlend> FEBlend::create(Filter* filter, WebBlendMode mode) 40 FEBlend* FEBlend::create(Filter* filter, WebBlendMode mode)
41 { 41 {
42 return new FEBlend(filter, mode); 42 return new FEBlend(filter, mode);
43 } 43 }
44 44
45 WebBlendMode FEBlend::blendMode() const 45 WebBlendMode FEBlend::blendMode() const
46 { 46 {
47 return m_mode; 47 return m_mode;
48 } 48 }
49 49
50 bool FEBlend::setBlendMode(WebBlendMode mode) 50 bool FEBlend::setBlendMode(WebBlendMode mode)
(...skipping 18 matching lines...) Expand all
69 writeIndent(ts, indent); 69 writeIndent(ts, indent);
70 ts << "[feBlend"; 70 ts << "[feBlend";
71 FilterEffect::externalRepresentation(ts); 71 FilterEffect::externalRepresentation(ts);
72 ts << " mode=\"" << (m_mode == WebBlendModeNormal ? "normal" : compositeOper atorName(CompositeSourceOver, m_mode)) << "\"]\n"; 72 ts << " mode=\"" << (m_mode == WebBlendModeNormal ? "normal" : compositeOper atorName(CompositeSourceOver, m_mode)) << "\"]\n";
73 inputEffect(0)->externalRepresentation(ts, indent + 1); 73 inputEffect(0)->externalRepresentation(ts, indent + 1);
74 inputEffect(1)->externalRepresentation(ts, indent + 1); 74 inputEffect(1)->externalRepresentation(ts, indent + 1);
75 return ts; 75 return ts;
76 } 76 }
77 77
78 } // namespace blink 78 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698