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

Unified Diff: Source/platform/graphics/filters/ImageFilterBuilderTest.cpp

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: Source/platform/graphics/filters/ImageFilterBuilderTest.cpp
diff --git a/Source/platform/graphics/filters/ImageFilterBuilderTest.cpp b/Source/platform/graphics/filters/ImageFilterBuilderTest.cpp
index df4a2561e1f33419e4d5833d617a958ebf9c8342..713cb0cf24b9e515401d1031b3c8aed282a3b6c3 100644
--- a/Source/platform/graphics/filters/ImageFilterBuilderTest.cpp
+++ b/Source/platform/graphics/filters/ImageFilterBuilderTest.cpp
@@ -42,20 +42,20 @@ protected:
void colorSpaceTest()
{
// Build filter tree
- RefPtr<ReferenceFilter> referenceFilter = ReferenceFilter::create(1.0f);
+ RefPtrWillBeRawPtr<ReferenceFilter> referenceFilter = ReferenceFilter::create(1.0f);
// Add a dummy source graphic input
- RefPtr<FilterEffect> sourceEffect = referenceFilter->sourceGraphic();
+ RefPtrWillBeRawPtr<FilterEffect> sourceEffect = referenceFilter->sourceGraphic();
sourceEffect->setOperatingColorSpace(ColorSpaceDeviceRGB);
// Add a blur effect (with input : source)
- RefPtr<FilterEffect> blurEffect =
+ RefPtrWillBeRawPtr<FilterEffect> blurEffect =
FEGaussianBlur::create(referenceFilter.get(), 3.0f, 3.0f);
blurEffect->setOperatingColorSpace(ColorSpaceLinearRGB);
blurEffect->inputEffects().append(sourceEffect);
// Add a blend effect (with inputs : blur, source)
- RefPtr<FilterEffect> blendEffect =
+ RefPtrWillBeRawPtr<FilterEffect> blendEffect =
FEBlend::create(referenceFilter.get(), WebBlendModeNormal);
blendEffect->setOperatingColorSpace(ColorSpaceDeviceRGB);
FilterEffectVector& blendInputs = blendEffect->inputEffects();
@@ -64,7 +64,7 @@ protected:
blendInputs.append(blurEffect);
// Add a merge effect (with inputs : blur, blend)
- RefPtr<FilterEffect> mergeEffect = FEMerge::create(referenceFilter.get());
+ RefPtrWillBeRawPtr<FilterEffect> mergeEffect = FEMerge::create(referenceFilter.get());
mergeEffect->setOperatingColorSpace(ColorSpaceLinearRGB);
FilterEffectVector& mergeInputs = mergeEffect->inputEffects();
mergeInputs.reserveCapacity(2);
« no previous file with comments | « Source/platform/graphics/filters/FilterOperations.cpp ('k') | Source/platform/graphics/filters/ReferenceFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698