Index: Source/core/layout/TextRunConstructor.h |
diff --git a/Source/core/layout/TextRunConstructor.h b/Source/core/layout/TextRunConstructor.h |
index 46bad17e7c11f974ba961bae06ae2b04949d9ab4..8827cac7611084efcc644bf93df5388058f529f0 100644 |
--- a/Source/core/layout/TextRunConstructor.h |
+++ b/Source/core/layout/TextRunConstructor.h |
@@ -45,7 +45,7 @@ namespace blink { |
class Font; |
class LayoutObject; |
-class LayoutStyle; |
+class ComputedStyle; |
class LayoutText; |
enum TextRunFlag { |
@@ -57,15 +57,15 @@ enum TextRunFlag { |
typedef unsigned TextRunFlags; |
// Direction resolved from string value. |
-TextRun constructTextRun(LayoutObject* context, const Font&, const String&, const LayoutStyle&, TextRunFlags = DefaultTextRunFlags); |
-TextRun constructTextRun(LayoutObject* context, const Font&, const LayoutText*, unsigned offset, unsigned length, const LayoutStyle&); |
+TextRun constructTextRun(LayoutObject* context, const Font&, const String&, const ComputedStyle&, TextRunFlags = DefaultTextRunFlags); |
+TextRun constructTextRun(LayoutObject* context, const Font&, const LayoutText*, unsigned offset, unsigned length, const ComputedStyle&); |
// Explicit direction. |
-TextRun constructTextRun(LayoutObject*, const Font&, const String&, const LayoutStyle&, TextDirection, TextRunFlags = DefaultTextRunFlags); |
-TextRun constructTextRun(LayoutObject*, const Font&, const LayoutText*, const LayoutStyle&, TextDirection); |
-TextRun constructTextRun(LayoutObject*, const Font&, const LayoutText*, unsigned offset, unsigned length, const LayoutStyle&, TextDirection); |
-TextRun constructTextRun(LayoutObject*, const Font&, const LChar*, int length, const LayoutStyle&, TextDirection); |
-TextRun constructTextRun(LayoutObject*, const Font&, const UChar*, int length, const LayoutStyle&, TextDirection); |
+TextRun constructTextRun(LayoutObject*, const Font&, const String&, const ComputedStyle&, TextDirection, TextRunFlags = DefaultTextRunFlags); |
+TextRun constructTextRun(LayoutObject*, const Font&, const LayoutText*, const ComputedStyle&, TextDirection); |
+TextRun constructTextRun(LayoutObject*, const Font&, const LayoutText*, unsigned offset, unsigned length, const ComputedStyle&, TextDirection); |
+TextRun constructTextRun(LayoutObject*, const Font&, const LChar*, int length, const ComputedStyle&, TextDirection); |
+TextRun constructTextRun(LayoutObject*, const Font&, const UChar*, int length, const ComputedStyle&, TextDirection); |
} // namespace blink |