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

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: 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') | Source/heap/Handle.h » ('J')
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 ff6c543f70a3b0d3237172925944cb89895d2b4e..e2e3f10d9000d9cd3062e897b57648a4ca79b0cb 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') | Source/heap/Handle.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698