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

Unified Diff: Source/core/rendering/RenderBox.h

Issue 295513003: add 'slow' prefix to RenderObject's firstChild() / lastChild() methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/rendering/RenderBlockLineLayout.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBox.h
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
index 368aa6cc7d8f138fb46c49276e8a6693a253bd8b..e228f4be817444562b1a7a5e041262e66b0385bc 100644
--- a/Source/core/rendering/RenderBox.h
+++ b/Source/core/rendering/RenderBox.h
@@ -755,12 +755,12 @@ inline RenderBox* RenderBox::parentBox() const
inline RenderBox* RenderBox::firstChildBox() const
{
- return toRenderBox(firstChild());
+ return toRenderBox(slowFirstChild());
}
inline RenderBox* RenderBox::lastChildBox() const
{
- return toRenderBox(lastChild());
+ return toRenderBox(slowLastChild());
}
inline void RenderBox::setInlineBoxWrapper(InlineBox* boxWrapper)
« no previous file with comments | « Source/core/rendering/RenderBlockLineLayout.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698