OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * Copyright (C) 2009 Joseph Pecoraro | 4 * Copyright (C) 2009 Joseph Pecoraro |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 // The timer is stopped on m_domAgent destruction, so this method will never
be called after m_domAgent has been destroyed. | 223 // The timer is stopped on m_domAgent destruction, so this method will never
be called after m_domAgent has been destroyed. |
224 WillBeHeapVector<RawPtrWillBeMember<Element> > elements; | 224 WillBeHeapVector<RawPtrWillBeMember<Element> > elements; |
225 WillBePersistentHeapHashSet<RefPtrWillBeMember<Element> >::iterator it; | 225 WillBePersistentHeapHashSet<RefPtrWillBeMember<Element> >::iterator it; |
226 for (it = m_styleAttrInvalidatedElements.begin(); it != m_styleAttrInvalidat
edElements.end(); ++it) | 226 for (it = m_styleAttrInvalidatedElements.begin(); it != m_styleAttrInvalidat
edElements.end(); ++it) |
227 elements.append(it->get()); | 227 elements.append(it->get()); |
228 m_domAgent->styleAttributeInvalidated(elements); | 228 m_domAgent->styleAttributeInvalidated(elements); |
229 | 229 |
230 m_styleAttrInvalidatedElements.clear(); | 230 m_styleAttrInvalidatedElements.clear(); |
231 | 231 |
232 elements.clear(); | 232 elements.clear(); |
233 for (const auto& it : m_contentDistributionInvalidatedElements) | 233 for (const RefPtrWillBeMember<Element>& it : m_contentDistributionInvalidate
dElements) |
234 elements.append(it.get()); | 234 elements.append(it.get()); |
235 m_domAgent->contentDistributionInvalidated(elements); | 235 m_domAgent->contentDistributionInvalidated(elements); |
236 | 236 |
237 m_contentDistributionInvalidatedElements.clear(); | 237 m_contentDistributionInvalidatedElements.clear(); |
238 } | 238 } |
239 | 239 |
240 void InspectorRevalidateDOMTask::trace(Visitor* visitor) | 240 void InspectorRevalidateDOMTask::trace(Visitor* visitor) |
241 { | 241 { |
242 visitor->trace(m_domAgent); | 242 visitor->trace(m_domAgent); |
243 #if ENABLE(OILPAN) | 243 #if ENABLE(OILPAN) |
(...skipping 2060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2304 visitor->trace(m_revalidateTask); | 2304 visitor->trace(m_revalidateTask); |
2305 visitor->trace(m_searchResults); | 2305 visitor->trace(m_searchResults); |
2306 #endif | 2306 #endif |
2307 visitor->trace(m_history); | 2307 visitor->trace(m_history); |
2308 visitor->trace(m_domEditor); | 2308 visitor->trace(m_domEditor); |
2309 visitor->trace(m_listener); | 2309 visitor->trace(m_listener); |
2310 InspectorBaseAgent::trace(visitor); | 2310 InspectorBaseAgent::trace(visitor); |
2311 } | 2311 } |
2312 | 2312 |
2313 } // namespace blink | 2313 } // namespace blink |
2314 | |
OLD | NEW |