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

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

Issue 363343005: Remove support for anonymous deprecated flexboxes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/rendering/RenderDeprecatedFlexibleBox.cpp ('k') | no next file » | 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) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 return new RenderTableRow(element); 188 return new RenderTableRow(element);
189 case TABLE_COLUMN_GROUP: 189 case TABLE_COLUMN_GROUP:
190 case TABLE_COLUMN: 190 case TABLE_COLUMN:
191 return new RenderTableCol(element); 191 return new RenderTableCol(element);
192 case TABLE_CELL: 192 case TABLE_CELL:
193 return new RenderTableCell(element); 193 return new RenderTableCell(element);
194 case TABLE_CAPTION: 194 case TABLE_CAPTION:
195 return new RenderTableCaption(element); 195 return new RenderTableCaption(element);
196 case BOX: 196 case BOX:
197 case INLINE_BOX: 197 case INLINE_BOX:
198 return new RenderDeprecatedFlexibleBox(element); 198 return new RenderDeprecatedFlexibleBox(*element);
199 case FLEX: 199 case FLEX:
200 case INLINE_FLEX: 200 case INLINE_FLEX:
201 return new RenderFlexibleBox(element); 201 return new RenderFlexibleBox(element);
202 case GRID: 202 case GRID:
203 case INLINE_GRID: 203 case INLINE_GRID:
204 return new RenderGrid(element); 204 return new RenderGrid(element);
205 } 205 }
206 206
207 return 0; 207 return 0;
208 } 208 }
(...skipping 3245 matching lines...) Expand 10 before | Expand all | Expand 10 after
3454 { 3454 {
3455 if (object1) { 3455 if (object1) {
3456 const blink::RenderObject* root = object1; 3456 const blink::RenderObject* root = object1;
3457 while (root->parent()) 3457 while (root->parent())
3458 root = root->parent(); 3458 root = root->parent();
3459 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 3459 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
3460 } 3460 }
3461 } 3461 }
3462 3462
3463 #endif 3463 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderDeprecatedFlexibleBox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698