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

Unified 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: Fixed web/mac/WebSubstringUtil.mm 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/layout/line/BreakingContextInlineHeaders.h
diff --git a/Source/core/layout/line/BreakingContextInlineHeaders.h b/Source/core/layout/line/BreakingContextInlineHeaders.h
index aaff6d518ecf6c1838ff5b1acd39732113c8c856..bef0559a84765568512bea6c01ec120b3ecee2f3 100644
--- a/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -119,8 +119,8 @@ private:
LayoutObject* m_lastObject;
LayoutObject* m_nextObject;
- LayoutStyle* m_currentStyle;
- LayoutStyle* m_blockStyle;
+ const LayoutStyle* m_currentStyle;
+ const LayoutStyle* m_blockStyle;
LineInfo& m_lineInfo;

Powered by Google App Engine
This is Rietveld 408576698