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

Side by Side Diff: Source/core/rendering/RenderBlock.cpp

Issue 756943002: Remove unnecessary RenderFlowThread usage and inclusion. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 TrackedRendererListHashSet* RenderBlock::positionedObjects() const 1986 TrackedRendererListHashSet* RenderBlock::positionedObjects() const
1987 { 1987 {
1988 if (gPositionedDescendantsMap) 1988 if (gPositionedDescendantsMap)
1989 return gPositionedDescendantsMap->get(this); 1989 return gPositionedDescendantsMap->get(this);
1990 return 0; 1990 return 0;
1991 } 1991 }
1992 1992
1993 void RenderBlock::insertPositionedObject(RenderBox* o) 1993 void RenderBlock::insertPositionedObject(RenderBox* o)
1994 { 1994 {
1995 ASSERT(!isAnonymousBlock()); 1995 ASSERT(!isAnonymousBlock());
1996
1997 if (o->isRenderFlowThread())
1998 return;
1999
2000 insertIntoTrackedRendererMaps(o, gPositionedDescendantsMap, gPositionedConta inerMap); 1996 insertIntoTrackedRendererMaps(o, gPositionedDescendantsMap, gPositionedConta inerMap);
2001 } 1997 }
2002 1998
2003 void RenderBlock::removePositionedObject(RenderBox* o) 1999 void RenderBlock::removePositionedObject(RenderBox* o)
2004 { 2000 {
2005 removeFromTrackedRendererMaps(o, gPositionedDescendantsMap, gPositionedConta inerMap); 2001 removeFromTrackedRendererMaps(o, gPositionedDescendantsMap, gPositionedConta inerMap);
2006 } 2002 }
2007 2003
2008 void RenderBlock::removePositionedObjects(RenderBlock* o, ContainingBlockState c ontainingBlockState) 2004 void RenderBlock::removePositionedObjects(RenderBlock* o, ContainingBlockState c ontainingBlockState)
2009 { 2005 {
(...skipping 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after
3921 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render Object* obj) const 3917 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render Object* obj) const
3922 { 3918 {
3923 showRenderObject(); 3919 showRenderObject();
3924 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot Box()) 3920 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot Box())
3925 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa bel2, obj, 1); 3921 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa bel2, obj, 1);
3926 } 3922 }
3927 3923
3928 #endif 3924 #endif
3929 3925
3930 } // namespace blink 3926 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698