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

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

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's 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/FontFaceSet.cpp
diff --git a/Source/core/css/FontFaceSet.cpp b/Source/core/css/FontFaceSet.cpp
index f147f914371fc2081e39ee5026706fd81b59fbc7..975dfcc71083e7df10bbadcbd1fc197c9212e7c3 100644
--- a/Source/core/css/FontFaceSet.cpp
+++ b/Source/core/css/FontFaceSet.cpp
@@ -407,8 +407,8 @@ void FontFaceSet::fireDoneEventIfPossible()
return;
if (hasLoadedFonts()) {
- RefPtr<CSSFontFaceLoadEvent> doneEvent;
- RefPtr<CSSFontFaceLoadEvent> errorEvent;
+ RefPtrWillBeRawPtr<CSSFontFaceLoadEvent> doneEvent = nullptr;
+ RefPtrWillBeRawPtr<CSSFontFaceLoadEvent> errorEvent = nullptr;
haraken 2014/04/03 10:39:31 These '= nullptr's were necessary.
doneEvent = CSSFontFaceLoadEvent::createForFontFaces(EventTypeNames::loadingdone, m_loadedFonts);
m_loadedFonts.clear();
if (!m_failedFonts.isEmpty()) {

Powered by Google App Engine
This is Rietveld 408576698