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

Side by Side Diff: Source/WebCore/rendering/svg/RenderSVGResourceClipper.h

Issue 9235065: Merge 105978 - crash in WebCore::RenderSVGContainer::paint (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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) Research In Motion Limited 2009-2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 static RenderSVGResourceType s_resourceType; 63 static RenderSVGResourceType s_resourceType;
64 private: 64 private:
65 // clipPath can be clipped too, but don't have a boundingBox or repaintRect. So we can't call 65 // clipPath can be clipped too, but don't have a boundingBox or repaintRect. So we can't call
66 // applyResource directly and use the rects from the object, since they are empty for RenderSVGResources 66 // applyResource directly and use the rects from the object, since they are empty for RenderSVGResources
67 bool applyClippingToContext(RenderObject*, const FloatRect&, const FloatRect &, GraphicsContext*); 67 bool applyClippingToContext(RenderObject*, const FloatRect&, const FloatRect &, GraphicsContext*);
68 bool pathOnlyClipping(GraphicsContext*, const AffineTransform&, const FloatR ect&); 68 bool pathOnlyClipping(GraphicsContext*, const AffineTransform&, const FloatR ect&);
69 bool drawContentIntoMaskImage(ClipperData*, const FloatRect& objectBoundingB ox); 69 bool drawContentIntoMaskImage(ClipperData*, const FloatRect& objectBoundingB ox);
70 void calculateClipContentRepaintRect(); 70 void calculateClipContentRepaintRect();
71 71
72 bool m_invalidationBlocked;
73 FloatRect m_clipBoundaries; 72 FloatRect m_clipBoundaries;
74 HashMap<RenderObject*, ClipperData*> m_clipper; 73 HashMap<RenderObject*, ClipperData*> m_clipper;
75 }; 74 };
76 75
77 } 76 }
78 77
79 #endif 78 #endif
80 #endif 79 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/svg/RenderSVGResource.cpp ('k') | Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698