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

Side by Side Diff: Source/core/rendering/svg/RenderSVGResourceContainer.h

Issue 230443003: Fix application of OBB paint-servers when device scale != 1 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 ParentOnlyInvalidation = 1 << 3 57 ParentOnlyInvalidation = 1 << 3
58 }; 58 };
59 59
60 // Used from the invalidateClient/invalidateClients methods from classes, in heriting from us. 60 // Used from the invalidateClient/invalidateClients methods from classes, in heriting from us.
61 void markAllClientsForInvalidation(InvalidationMode); 61 void markAllClientsForInvalidation(InvalidationMode);
62 void markAllClientLayersForInvalidation(); 62 void markAllClientLayersForInvalidation();
63 void markClientForInvalidation(RenderObject*, InvalidationMode); 63 void markClientForInvalidation(RenderObject*, InvalidationMode);
64 64
65 void clearInvalidationMask() { m_invalidationMask = 0; } 65 void clearInvalidationMask() { m_invalidationMask = 0; }
66 66
67 static AffineTransform computeResourceSpaceTransform(RenderObject*, const Af fineTransform& baseTransform, const SVGRenderStyle*, unsigned short resourceMode );
68
67 bool m_isInLayout; 69 bool m_isInLayout;
68 70
69 private: 71 private:
70 friend class SVGResourcesCache; 72 friend class SVGResourcesCache;
71 void addClient(RenderObject*); 73 void addClient(RenderObject*);
72 void removeClient(RenderObject*); 74 void removeClient(RenderObject*);
73 75
74 virtual void willBeDestroyed() OVERRIDE FINAL; 76 virtual void willBeDestroyed() OVERRIDE FINAL;
75 void registerResource(); 77 void registerResource();
76 78
(...skipping 27 matching lines...) Expand all
104 return container->cast<Renderer>(); 106 return container->cast<Renderer>();
105 107
106 return 0; 108 return 0;
107 } 109 }
108 110
109 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceContainer, isSVGResourceContain er()); 111 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceContainer, isSVGResourceContain er());
110 112
111 } 113 }
112 114
113 #endif 115 #endif
OLDNEW
« no previous file with comments | « LayoutTests/svg/text/obb-paintserver-expected.html ('k') | Source/core/rendering/svg/RenderSVGResourceContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698