| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Neither the name of Google Inc. nor the names of its | 10 * * Neither the name of Google Inc. nor the names of its |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 namespace WebCore { | 33 namespace WebCore { |
| 34 | 34 |
| 35 class InsertionPoint; | 35 class InsertionPoint; |
| 36 | 36 |
| 37 namespace NodeRenderingTraversal { | 37 namespace NodeRenderingTraversal { |
| 38 | 38 |
| 39 class ParentDetails { | 39 class ParentDetails { |
| 40 DISALLOW_ALLOCATION() | 40 DISALLOW_ALLOCATION() |
| 41 public: | 41 public: |
| 42 ParentDetails() | 42 ParentDetails() |
| 43 : m_insertionPoint(0) | 43 : m_resetStyleInheritance(false) |
| 44 , m_resetStyleInheritance(false) | |
| 45 , m_outOfComposition(false) | 44 , m_outOfComposition(false) |
| 46 { } | 45 { } |
| 47 | 46 |
| 48 Result<InsertionPoint> insertionPoint() const { return m_insertionPoint; } | 47 Result<InsertionPoint> insertionPoint() const { return m_insertionPoint; } |
| 49 bool resetStyleInheritance() const { return m_resetStyleInheritance; } | 48 bool resetStyleInheritance() const { return m_resetStyleInheritance; } |
| 50 bool outOfComposition() const { return m_outOfComposition; } | 49 bool outOfComposition() const { return m_outOfComposition; } |
| 51 | 50 |
| 52 void didTraverseInsertionPoint(const Handle<InsertionPoint>&); | 51 void didTraverseInsertionPoint(const Handle<InsertionPoint>&); |
| 53 void didTraverseShadowRoot(const Handle<const ShadowRoot>&); | 52 void didTraverseShadowRoot(const Handle<const ShadowRoot>&); |
| 54 void childWasOutOfComposition() { m_outOfComposition = true; } | 53 void childWasOutOfComposition() { m_outOfComposition = true; } |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 } | 109 } |
| 111 | 110 |
| 112 return previousSiblingSlow(node); | 111 return previousSiblingSlow(node); |
| 113 } | 112 } |
| 114 | 113 |
| 115 } | 114 } |
| 116 | 115 |
| 117 } // namespace WebCore | 116 } // namespace WebCore |
| 118 | 117 |
| 119 #endif | 118 #endif |
| OLD | NEW |