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

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

Issue 339333002: Removing using declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing mac error Created 6 years, 6 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/FastTextAutosizer.cpp ('k') | Source/core/rendering/FloatingObjects.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) 2002 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org)
3 * (C) 2002 Dirk Mueller (mueller@kde.org) 3 * (C) 2002 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc.
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. 9 * version 2 of the License.
10 * 10 *
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 the columns, the extra space should be distributed over the columns. 62 the columns, the extra space should be distributed over the columns.
63 63
64 64
65 In this manner, the user agent can begin to lay out the table once 65 In this manner, the user agent can begin to lay out the table once
66 the entire first row has been received. Cells in subsequent rows do 66 the entire first row has been received. Cells in subsequent rows do
67 not affect column widths. Any cell that has content that overflows 67 not affect column widths. Any cell that has content that overflows
68 uses the 'overflow' property to determine whether to clip the 68 uses the 'overflow' property to determine whether to clip the
69 overflow content. 69 overflow content.
70 */ 70 */
71 71
72 using namespace std;
73
74 namespace WebCore { 72 namespace WebCore {
75 73
76 FixedTableLayout::FixedTableLayout(RenderTable* table) 74 FixedTableLayout::FixedTableLayout(RenderTable* table)
77 : TableLayout(table) 75 : TableLayout(table)
78 { 76 {
79 } 77 }
80 78
81 int FixedTableLayout::calcWidthArray() 79 int FixedTableLayout::calcWidthArray()
82 { 80 {
83 // FIXME: We might want to wait until we have all of the first row before co mputing for the first time. 81 // FIXME: We might want to wait until we have all of the first row before co mputing for the first time.
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 RenderTableRow* row = section->rowRendererAt(i); 323 RenderTableRow* row = section->rowRendererAt(i);
326 if (!row) 324 if (!row)
327 continue; 325 continue;
328 for (RenderTableCell* cell = row->firstCell(); cell; cell = cell->ne xtCell()) 326 for (RenderTableCell* cell = row->firstCell(); cell; cell = cell->ne xtCell())
329 cell->setPreferredLogicalWidthsDirty(); 327 cell->setPreferredLogicalWidthsDirty();
330 } 328 }
331 } 329 }
332 } 330 }
333 331
334 } // namespace WebCore 332 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/FastTextAutosizer.cpp ('k') | Source/core/rendering/FloatingObjects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698