OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 remove(candidates[i]->element()); | 199 remove(candidates[i]->element()); |
200 } | 200 } |
201 | 201 |
202 #ifndef NDEBUG | 202 #ifndef NDEBUG |
203 | 203 |
204 void HTMLFormattingElementList::show() | 204 void HTMLFormattingElementList::show() |
205 { | 205 { |
206 for (unsigned i = 1; i <= m_entries.size(); ++i) { | 206 for (unsigned i = 1; i <= m_entries.size(); ++i) { |
207 const Entry& entry = m_entries[m_entries.size() - i]; | 207 const Entry& entry = m_entries[m_entries.size() - i]; |
208 if (entry.isMarker()) | 208 if (entry.isMarker()) |
209 fprintf(stderr, "marker\n"); | 209 LOG(INFO) << "marker"; |
210 else | 210 else |
211 entry.element()->showNode(); | 211 LOG(INFO) << *entry.element(); |
212 } | 212 } |
213 } | 213 } |
214 | 214 |
215 #endif | 215 #endif |
216 | 216 |
217 } // namespace blink | 217 } // namespace blink |
OLD | NEW |