| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "core/html/parser/HTMLElementStack.h" | 28 #include "core/html/parser/HTMLElementStack.h" |
| 29 | 29 |
| 30 #include "HTMLNames.h" | 30 #include "HTMLNames.h" |
| 31 #include "MathMLNames.h" | 31 #include "MathMLNames.h" |
| 32 #include "SVGNames.h" | 32 #include "SVGNames.h" |
| 33 #include "core/dom/Element.h" | 33 #include "core/dom/Element.h" |
| 34 #include "core/html/HTMLHtmlElement.h" | 34 #include "core/html/HTMLHtmlElement.h" |
| 35 #include "core/html/HTMLOptGroupElement.h" | 35 #include "core/html/HTMLOptGroupElement.h" |
| 36 #include "core/html/HTMLTableElement.h" | 36 #include "core/html/HTMLTableElement.h" |
| 37 #include "wtf/PassOwnPtr.h" | |
| 38 | 37 |
| 39 namespace WebCore { | 38 namespace WebCore { |
| 40 | 39 |
| 41 using namespace HTMLNames; | 40 using namespace HTMLNames; |
| 42 | 41 |
| 43 | 42 |
| 44 namespace { | 43 namespace { |
| 45 | 44 |
| 46 inline bool isRootNode(HTMLStackItem* item) | 45 inline bool isRootNode(HTMLStackItem* item) |
| 47 { | 46 { |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 | 610 |
| 612 void HTMLElementStack::show() | 611 void HTMLElementStack::show() |
| 613 { | 612 { |
| 614 for (ElementRecord* record = m_top.get(); record; record = record->next()) | 613 for (ElementRecord* record = m_top.get(); record; record = record->next()) |
| 615 record->element()->showNode(); | 614 record->element()->showNode(); |
| 616 } | 615 } |
| 617 | 616 |
| 618 #endif | 617 #endif |
| 619 | 618 |
| 620 } | 619 } |
| OLD | NEW |