OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "wtf/Vector.h" | 31 #include "wtf/Vector.h" |
32 #include "wtf/text/CString.h" | 32 #include "wtf/text/CString.h" |
33 #include "wtf/text/StringBuilder.h" | 33 #include "wtf/text/StringBuilder.h" |
34 | 34 |
35 using std::swap; | 35 using std::swap; |
36 | 36 |
37 namespace WebCore { | 37 namespace WebCore { |
38 | 38 |
39 namespace { | 39 namespace { |
40 | 40 |
41 const unsigned invalidChildCount = ~0; | 41 const unsigned invalidChildCount = ~0U; |
42 | 42 |
43 } // namespace | 43 } // namespace |
44 | 44 |
45 FrameTree::FrameTree(Frame* thisFrame) | 45 FrameTree::FrameTree(Frame* thisFrame) |
46 : m_thisFrame(thisFrame) | 46 : m_thisFrame(thisFrame) |
47 , m_scopedChildCount(invalidChildCount) | 47 , m_scopedChildCount(invalidChildCount) |
48 { | 48 { |
49 } | 49 } |
50 | 50 |
51 FrameTree::~FrameTree() | 51 FrameTree::~FrameTree() |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 { | 414 { |
415 if (!frame) { | 415 if (!frame) { |
416 printf("Null input frame\n"); | 416 printf("Null input frame\n"); |
417 return; | 417 return; |
418 } | 418 } |
419 | 419 |
420 printFrames(frame->tree().top(), frame, 0); | 420 printFrames(frame->tree().top(), frame, 0); |
421 } | 421 } |
422 | 422 |
423 #endif | 423 #endif |
OLD | NEW |