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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 if (attrName == SVGNames::inAttr || attrName == SVGNames::in2Attr) { 113 if (attrName == SVGNames::inAttr || attrName == SVGNames::in2Attr) {
114 SVGElement::InvalidationGuard invalidationGuard(this); 114 SVGElement::InvalidationGuard invalidationGuard(this);
115 invalidate(); 115 invalidate();
116 return; 116 return;
117 } 117 }
118 118
119 SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); 119 SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName);
120 } 120 }
121 121
122 PassRefPtrWillBeRawPtr<FilterEffect> SVGFECompositeElement::build(SVGFilterBuild er* filterBuilder, Filter* filter) 122 RawPtr<FilterEffect> SVGFECompositeElement::build(SVGFilterBuilder* filterBuilde r, Filter* filter)
123 { 123 {
124 FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->curr entValue()->value())); 124 FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->curr entValue()->value()));
125 FilterEffect* input2 = filterBuilder->getEffectById(AtomicString(m_in2->curr entValue()->value())); 125 FilterEffect* input2 = filterBuilder->getEffectById(AtomicString(m_in2->curr entValue()->value()));
126 ASSERT(input1 && input2); 126 ASSERT(input1 && input2);
127 127
128 RefPtrWillBeRawPtr<FilterEffect> effect = FEComposite::create(filter, m_svgO perator->currentValue()->enumValue(), m_k1->currentValue()->value(), m_k2->curre ntValue()->value(), m_k3->currentValue()->value(), m_k4->currentValue()->value() ); 128 RawPtr<FilterEffect> effect = FEComposite::create(filter, m_svgOperator->cur rentValue()->enumValue(), m_k1->currentValue()->value(), m_k2->currentValue()->v alue(), m_k3->currentValue()->value(), m_k4->currentValue()->value());
129 FilterEffectVector& inputEffects = effect->inputEffects(); 129 FilterEffectVector& inputEffects = effect->inputEffects();
130 inputEffects.reserveCapacity(2); 130 inputEffects.reserveCapacity(2);
131 inputEffects.append(input1); 131 inputEffects.append(input1);
132 inputEffects.append(input2); 132 inputEffects.append(input2);
133 return effect.release(); 133 return effect.release();
134 } 134 }
135 135
136 } // namespace blink 136 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698