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

Side by Side Diff: Source/core/layout/svg/LayoutSVGResourceFilter.h

Issue 1108763004: Replace FilterData::boundaries with Filter::filterRegion() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix silly rebase error. Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/paint/SVGFilterPainter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 59
60 void dispose(); 60 void dispose();
61 61
62 DECLARE_TRACE(); 62 DECLARE_TRACE();
63 63
64 RefPtrWillBeMember<SVGFilter> filter; 64 RefPtrWillBeMember<SVGFilter> filter;
65 RefPtrWillBeMember<SVGFilterBuilder> builder; 65 RefPtrWillBeMember<SVGFilterBuilder> builder;
66 OwnPtr<DisplayItemList> m_displayItemList; 66 OwnPtr<DisplayItemList> m_displayItemList;
67 OwnPtr<GraphicsContext> m_context; 67 OwnPtr<GraphicsContext> m_context;
68 FloatRect boundaries;
69 FilterDataState m_state; 68 FilterDataState m_state;
70 69
71 private: 70 private:
72 FilterData() : m_state(Initial) { } 71 FilterData() : m_state(Initial) { }
73 }; 72 };
74 73
75 class LayoutSVGResourceFilter final : public LayoutSVGResourceContainer { 74 class LayoutSVGResourceFilter final : public LayoutSVGResourceContainer {
76 public: 75 public:
77 explicit LayoutSVGResourceFilter(SVGFilterElement*); 76 explicit LayoutSVGResourceFilter(SVGFilterElement*);
78 77
(...skipping 28 matching lines...) Expand all
107 106
108 using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMem ber<FilterData>>; 107 using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMem ber<FilterData>>;
109 FilterMap m_filter; 108 FilterMap m_filter;
110 }; 109 };
111 110
112 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter()); 111 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter());
113 112
114 } 113 }
115 114
116 #endif 115 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/paint/SVGFilterPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698