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

Side by Side Diff: Source/core/layout/line/BreakingContextInlineHeaders.h

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated change after Doug's review. Created 5 years, 10 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ight reserved. 3 * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ight reserved.
4 * Copyright (C) 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2010 Google Inc. All rights reserved.
5 * Copyright (C) 2013 Adobe Systems Incorporated. 5 * Copyright (C) 2013 Adobe Systems Incorporated.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 InlineBidiResolver& m_resolver; 112 InlineBidiResolver& m_resolver;
113 113
114 InlineIterator m_current; 114 InlineIterator m_current;
115 InlineIterator m_lineBreak; 115 InlineIterator m_lineBreak;
116 InlineIterator m_startOfIgnoredSpaces; 116 InlineIterator m_startOfIgnoredSpaces;
117 117
118 RenderBlockFlow* m_block; 118 RenderBlockFlow* m_block;
119 LayoutObject* m_lastObject; 119 LayoutObject* m_lastObject;
120 LayoutObject* m_nextObject; 120 LayoutObject* m_nextObject;
121 121
122 LayoutStyle* m_currentStyle; 122 const LayoutStyle* m_currentStyle;
123 LayoutStyle* m_blockStyle; 123 const LayoutStyle* m_blockStyle;
124 124
125 LineInfo& m_lineInfo; 125 LineInfo& m_lineInfo;
126 126
127 LayoutTextInfo& m_renderTextInfo; 127 LayoutTextInfo& m_renderTextInfo;
128 128
129 FloatingObject* m_lastFloatFromPreviousLine; 129 FloatingObject* m_lastFloatFromPreviousLine;
130 130
131 LineWidth m_width; 131 LineWidth m_width;
132 132
133 EWhiteSpace m_currWS; 133 EWhiteSpace m_currWS;
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 891
892 if (style.textIndentType() == TextIndentHanging) 892 if (style.textIndentType() == TextIndentHanging)
893 shouldIndentText = shouldIndentText == IndentText ? DoNotIndentText : In dentText; 893 shouldIndentText = shouldIndentText == IndentText ? DoNotIndentText : In dentText;
894 894
895 return shouldIndentText; 895 return shouldIndentText;
896 } 896 }
897 897
898 } 898 }
899 899
900 #endif // BreakingContextInlineHeaders_h 900 #endif // BreakingContextInlineHeaders_h
OLDNEW
« no previous file with comments | « Source/core/layout/MultiColumnFragmentainerGroup.cpp ('k') | Source/core/layout/style/LayoutStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698