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

Side by Side Diff: Source/core/rendering/svg/ReferenceFilterBuilder.cpp

Issue 358603002: Remove StyleEngine.h include from RenderObject.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-style-bool-to-0
Patch Set: Rebased for landing Created 6 years, 5 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) 2013 Adobe Systems Inc. All rights reserved. 2 * Copyright (C) 2013 Adobe Systems Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * Copyright (C) 2011 Apple Inc. All rights reserved. 4 * Copyright (C) 2011 Apple Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 29
30 #include "core/rendering/svg/ReferenceFilterBuilder.h" 30 #include "core/rendering/svg/ReferenceFilterBuilder.h"
31 31
32 #include "core/css/CSSPrimitiveValue.h" 32 #include "core/css/CSSPrimitiveValue.h"
33 #include "core/css/CSSPrimitiveValueMappings.h" 33 #include "core/css/CSSPrimitiveValueMappings.h"
34 #include "core/css/StylePropertySet.h" 34 #include "core/css/StylePropertySet.h"
35 #include "core/dom/Element.h" 35 #include "core/dom/Element.h"
36 #include "core/dom/ElementTraversal.h"
36 #include "core/fetch/DocumentResource.h" 37 #include "core/fetch/DocumentResource.h"
37 #include "core/rendering/svg/RenderSVGResourceFilter.h" 38 #include "core/rendering/svg/RenderSVGResourceFilter.h"
38 #include "core/svg/SVGDocumentExtensions.h" 39 #include "core/svg/SVGDocumentExtensions.h"
39 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" 40 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
40 #include "core/svg/graphics/filters/SVGFilterBuilder.h" 41 #include "core/svg/graphics/filters/SVGFilterBuilder.h"
41 #include "platform/graphics/filters/SourceAlpha.h" 42 #include "platform/graphics/filters/SourceAlpha.h"
42 43
43 namespace WebCore { 44 namespace WebCore {
44 45
45 HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference> >* ReferenceFi lterBuilder::documentResourceReferences = 0; 46 HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference> >* ReferenceFi lterBuilder::documentResourceReferences = 0;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 effect->setEffectBoundaries(SVGLengthContext::resolveRectangle<SVGFilter PrimitiveStandardAttributes>(effectElement, filterElement.primitiveUnits()->curr entValue()->enumValue(), parentFilter->sourceImageRect())); 166 effect->setEffectBoundaries(SVGLengthContext::resolveRectangle<SVGFilter PrimitiveStandardAttributes>(effectElement, filterElement.primitiveUnits()->curr entValue()->enumValue(), parentFilter->sourceImageRect()));
166 ColorSpace colorSpace = filterColorSpace; 167 ColorSpace colorSpace = filterColorSpace;
167 if (useFilterColorSpace || getSVGElementColorSpace(effectElement, colorS pace)) 168 if (useFilterColorSpace || getSVGElementColorSpace(effectElement, colorS pace))
168 effect->setOperatingColorSpace(colorSpace); 169 effect->setOperatingColorSpace(colorSpace);
169 builder->add(AtomicString(effectElement->result()->currentValue()->value ()), effect); 170 builder->add(AtomicString(effectElement->result()->currentValue()->value ()), effect);
170 } 171 }
171 return builder->lastEffect(); 172 return builder->lastEffect();
172 } 173 }
173 174
174 } // namespace WebCore 175 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/line/BreakingContextInlineHeaders.h ('k') | Source/core/rendering/svg/RenderSVGInlineText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698