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

Side by Side Diff: Source/core/rendering/InlineBox.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/FloatingObjects.cpp ('k') | Source/core/rendering/InlineFlowBox.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) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 13 matching lines...) Expand all
24 #include "core/rendering/PaintInfo.h" 24 #include "core/rendering/PaintInfo.h"
25 #include "core/rendering/RenderBlockFlow.h" 25 #include "core/rendering/RenderBlockFlow.h"
26 #include "core/rendering/RootInlineBox.h" 26 #include "core/rendering/RootInlineBox.h"
27 #include "platform/Partitions.h" 27 #include "platform/Partitions.h"
28 #include "platform/fonts/FontMetrics.h" 28 #include "platform/fonts/FontMetrics.h"
29 29
30 #ifndef NDEBUG 30 #ifndef NDEBUG
31 #include <stdio.h> 31 #include <stdio.h>
32 #endif 32 #endif
33 33
34 using namespace std;
35
36 namespace WebCore { 34 namespace WebCore {
37 35
38 struct SameSizeAsInlineBox { 36 struct SameSizeAsInlineBox {
39 virtual ~SameSizeAsInlineBox() { } 37 virtual ~SameSizeAsInlineBox() { }
40 void* a[4]; 38 void* a[4];
41 FloatPoint b; 39 FloatPoint b;
42 float c; 40 float c;
43 uint32_t d : 32; 41 uint32_t d : 32;
44 #ifndef NDEBUG 42 #ifndef NDEBUG
45 bool f; 43 bool f;
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 b->showTreeForThis(); 360 b->showTreeForThis();
363 } 361 }
364 362
365 void showLineTree(const WebCore::InlineBox* b) 363 void showLineTree(const WebCore::InlineBox* b)
366 { 364 {
367 if (b) 365 if (b)
368 b->showLineTreeForThis(); 366 b->showLineTreeForThis();
369 } 367 }
370 368
371 #endif 369 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/FloatingObjects.cpp ('k') | Source/core/rendering/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698