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

Side by Side Diff: sky/engine/core/rendering/RenderInline.cpp

Issue 748943002: remove childrenInline & setChildrenInline (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments 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
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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual ~SameSizeAsRenderInline() { } 44 virtual ~SameSizeAsRenderInline() { }
45 RenderObjectChildList m_children; 45 RenderObjectChildList m_children;
46 RenderLineBoxList m_lineBoxes; 46 RenderLineBoxList m_lineBoxes;
47 }; 47 };
48 48
49 COMPILE_ASSERT(sizeof(RenderInline) == sizeof(SameSizeAsRenderInline), RenderInl ine_should_stay_small); 49 COMPILE_ASSERT(sizeof(RenderInline) == sizeof(SameSizeAsRenderInline), RenderInl ine_should_stay_small);
50 50
51 RenderInline::RenderInline(Element* element) 51 RenderInline::RenderInline(Element* element)
52 : RenderBoxModelObject(element) 52 : RenderBoxModelObject(element)
53 { 53 {
54 setChildrenInline(true);
55 } 54 }
56 55
57 RenderInline* RenderInline::createAnonymous(Document* document) 56 RenderInline* RenderInline::createAnonymous(Document* document)
58 { 57 {
59 RenderInline* renderer = new RenderInline(0); 58 RenderInline* renderer = new RenderInline(0);
60 renderer->setDocumentForAnonymous(document); 59 renderer->setDocumentForAnonymous(document);
61 return renderer; 60 return renderer;
62 } 61 }
63 62
64 void RenderInline::willBeDestroyed() 63 void RenderInline::willBeDestroyed()
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 pixelSnappedBox.maxY(), 1091 pixelSnappedBox.maxY(),
1093 pixelSnappedBox.maxX() + outlineWidth, 1092 pixelSnappedBox.maxX() + outlineWidth,
1094 pixelSnappedBox.maxY() + outlineWidth, 1093 pixelSnappedBox.maxY() + outlineWidth,
1095 BSBottom, outlineColor, outlineStyle, 1094 BSBottom, outlineColor, outlineStyle,
1096 outlineWidth, 1095 outlineWidth,
1097 outlineWidth, 1096 outlineWidth,
1098 antialias); 1097 antialias);
1099 } 1098 }
1100 1099
1101 } // namespace blink 1100 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderFlexibleBox.cpp ('k') | sky/engine/core/rendering/RenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698