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

Unified Diff: Source/core/layout/TextRunConstructor.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/TextAutosizer.cpp ('k') | Source/core/layout/TextRunConstructor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/layout/TextAutosizer.cpp ('k') | Source/core/layout/TextRunConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698