Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(814)

Unified Diff: Source/core/inspector/InspectorDOMAgent.cpp

Issue 23042005: [oilpan] Fix iterators over member collections to return Result<T> (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/heap/Handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDOMAgent.cpp
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp
index 8f07707ece78b997811c5b5d0bbe8572367d63eb..2e57af2c98e32dcc47dce22a987f70fdd67fc56e 100644
--- a/Source/core/inspector/InspectorDOMAgent.cpp
+++ b/Source/core/inspector/InspectorDOMAgent.cpp
@@ -217,7 +217,7 @@ void RevalidateStyleAttributeTask::onTimer(Timer<RevalidateStyleAttributeTask>*)
// The timer is stopped on m_domAgent destruction, so this method will never be called after m_domAgent has been destroyed.
CollectionRoot<Vector<Member<Element> > > elements;
for (HashSet<Member<Element> >::iterator it = m_elements->begin(), end = m_elements->end(); it != end; ++it)
- elements->append(it->handle().raw());
+ elements->append((*it).handle().raw());
m_domAgent->styleAttributeInvalidated(*elements);
m_elements->clear();
« no previous file with comments | « no previous file | Source/heap/Handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698