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

Unified Diff: Source/core/css/CSSFontSelector.cpp

Issue 211073002: [Oilpan]: Move CSSFontSelectorClient to the oilpan heap using transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
Index: Source/core/css/CSSFontSelector.cpp
diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp
index a112a1969a4efbf601453d650bd78db235651392..7cc4f9e9b767a4a8a2477b79cd1c274d507d2744 100644
--- a/Source/core/css/CSSFontSelector.cpp
+++ b/Source/core/css/CSSFontSelector.cpp
@@ -136,7 +136,7 @@ void CSSFontSelector::unregisterForInvalidationCallbacks(CSSFontSelectorClient*
void CSSFontSelector::dispatchInvalidationCallbacks()
{
- Vector<CSSFontSelectorClient*> clients;
+ WillBeHeapVector<RawPtrWillBeMember<CSSFontSelectorClient> > clients;
copyToVector(m_clients, clients);
for (size_t i = 0; i < clients.size(); ++i)
clients[i]->fontsNeedUpdate(this);

Powered by Google App Engine
This is Rietveld 408576698