Index: Source/core/rendering/TextRunConstructor.h |
diff --git a/Source/core/rendering/TextRunConstructor.h b/Source/core/rendering/TextRunConstructor.h |
index b044b892bb39f01c80862f20f0593684215110c7..486ba4508126b858d1f4634f8c074afef9589ebe 100644 |
--- a/Source/core/rendering/TextRunConstructor.h |
+++ b/Source/core/rendering/TextRunConstructor.h |
@@ -57,15 +57,15 @@ enum TextRunFlag { |
typedef unsigned TextRunFlags; |
// Direction resolved from string value. |
-TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*, TextRunFlags = DefaultTextRunFlags); |
-TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*); |
+TextRun constructTextRun(RenderObject* context, const Font&, const String&, const RenderStyle*, TextRunFlags = DefaultTextRunFlags); |
+TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, const RenderStyle*); |
// Explicit direction. |
-TextRun constructTextRun(RenderObject*, const Font&, const String&, RenderStyle*, TextDirection, TextRunFlags = DefaultTextRunFlags); |
-TextRun constructTextRun(RenderObject*, const Font&, const RenderText*, RenderStyle*, TextDirection); |
-TextRun constructTextRun(RenderObject*, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*, TextDirection); |
-TextRun constructTextRun(RenderObject*, const Font&, const LChar*, int length, RenderStyle*, TextDirection); |
-TextRun constructTextRun(RenderObject*, const Font&, const UChar*, int length, RenderStyle*, TextDirection); |
+TextRun constructTextRun(RenderObject*, const Font&, const String&, const RenderStyle*, TextDirection, TextRunFlags = DefaultTextRunFlags); |
+TextRun constructTextRun(RenderObject*, const Font&, const RenderText*, const RenderStyle*, TextDirection); |
+TextRun constructTextRun(RenderObject*, const Font&, const RenderText*, unsigned offset, unsigned length, const RenderStyle*, TextDirection); |
+TextRun constructTextRun(RenderObject*, const Font&, const LChar*, int length, const RenderStyle*, TextDirection); |
+TextRun constructTextRun(RenderObject*, const Font&, const UChar*, int length, const RenderStyle*, TextDirection); |
} // namespace blink |