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

Side by Side Diff: Source/WebCore/rendering/RenderBlock.h

Issue 9250021: Merge 105120 - Heap-use-after-free in WebCore::RenderBlock::selectionGaps (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 8 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved.
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 HashSet<RenderBox*>* percentHeightDescendants() const; 111 HashSet<RenderBox*>* percentHeightDescendants() const;
112 #if !ASSERT_DISABLED 112 #if !ASSERT_DISABLED
113 static bool hasPercentHeightDescendant(RenderBox*); 113 static bool hasPercentHeightDescendant(RenderBox*);
114 #endif 114 #endif
115 115
116 RootInlineBox* createAndAppendRootInlineBox(); 116 RootInlineBox* createAndAppendRootInlineBox();
117 117
118 bool generatesLineBoxesForInlineChild(RenderObject*); 118 bool generatesLineBoxesForInlineChild(RenderObject*);
119 119
120 void markAllDescendantsWithFloatsForLayout(RenderBox* floatToRemove = 0, boo l inLayout = true); 120 void markAllDescendantsWithFloatsForLayout(RenderBox* floatToRemove = 0, boo l inLayout = true);
121 void markSiblingsWithFloatsForLayout(); 121 void markSiblingsWithFloatsForLayout(RenderBox* floatToRemove = 0);
122 void markPositionedObjectsForLayout(); 122 void markPositionedObjectsForLayout();
123 virtual void markForPaginationRelayoutIfNeeded(); 123 virtual void markForPaginationRelayoutIfNeeded();
124 124
125 bool containsFloats() { return m_floatingObjects && !m_floatingObjects->set( ).isEmpty(); } 125 bool containsFloats() { return m_floatingObjects && !m_floatingObjects->set( ).isEmpty(); }
126 bool containsFloat(RenderBox*); 126 bool containsFloat(RenderBox*);
127 127
128 // Versions that can compute line offsets with the region and page offset pa ssed in. Used for speed to avoid having to 128 // Versions that can compute line offsets with the region and page offset pa ssed in. Used for speed to avoid having to
129 // compute the region all over again when you already know it. 129 // compute the region all over again when you already know it.
130 LayoutUnit availableLogicalWidthForLine(LayoutUnit position, bool firstLine, RenderRegion* region, LayoutUnit offsetFromLogicalTopOfFirstPage) const 130 LayoutUnit availableLogicalWidthForLine(LayoutUnit position, bool firstLine, RenderRegion* region, LayoutUnit offsetFromLogicalTopOfFirstPage) const
131 { 131 {
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 static String string(const int value); 1066 static String string(const int value);
1067 }; 1067 };
1068 template<> struct ValueToString<RenderBlock::FloatingObject*> { 1068 template<> struct ValueToString<RenderBlock::FloatingObject*> {
1069 static String string(const RenderBlock::FloatingObject*); 1069 static String string(const RenderBlock::FloatingObject*);
1070 }; 1070 };
1071 #endif 1071 #endif
1072 1072
1073 } // namespace WebCore 1073 } // namespace WebCore
1074 1074
1075 #endif // RenderBlock_h 1075 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/table/multiple-captions-crash5-expected.html ('k') | Source/WebCore/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698