Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index bd27cc85d31a91811bfb79949d3c105b1ab14e10..057554e7d72c99eb61552192864d82bd901aaa04 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -802,13 +802,18 @@ public: |
virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; |
- struct AppliedTextDecoration { |
- Color color; |
+ struct ResolvedDecoration { |
+ ResolvedDecoration(); |
+ ResolvedDecoration(const AppliedTextDecoration&, const Color&); |
+ |
+ TextDecoration line; |
TextDecorationStyle style; |
- AppliedTextDecoration() : color(Color::transparent), style(TextDecorationStyleSolid) { } |
+ Color color; |
}; |
- void getTextDecorations(unsigned decorations, AppliedTextDecoration& underline, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool quirksMode = false, bool firstlineStyle = false); |
+ typedef Vector<ResolvedDecoration, 1> ResolvedDecorationVector; |
+ |
+ void resolvedDecorations(bool firstlineStyle, const Vector<AppliedTextDecoration>&, ResolvedDecorationVector&); |
// Return the RenderLayerModelObject in the container chain which is responsible for painting this object, or 0 |
// if painting is root-relative. This is the container that should be passed to the 'forRepaint' |