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

Unified Diff: sky/engine/core/css/FontFace.cpp

Issue 686783002: Remove almost all of Oilpan (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/css/FontFace.h ('k') | sky/engine/core/css/StylePropertySet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/FontFace.cpp
diff --git a/sky/engine/core/css/FontFace.cpp b/sky/engine/core/css/FontFace.cpp
index 67d52ad6e82af02d50d4f5d3203ae77eab9dd24c..27a40cef05dade0153e8d2808b670b1ef41e40fa 100644
--- a/sky/engine/core/css/FontFace.cpp
+++ b/sky/engine/core/css/FontFace.cpp
@@ -354,7 +354,7 @@ void FontFace::setError(PassRefPtr<DOMException> error)
ScriptPromise FontFace::fontStatusPromise(ScriptState* scriptState)
{
if (!m_loadedProperty) {
- m_loadedProperty = new LoadedProperty(scriptState->executionContext(), this, LoadedProperty::Loaded);
+ m_loadedProperty = adoptPtr(new LoadedProperty(scriptState->executionContext(), this, LoadedProperty::Loaded));
if (m_status == Loaded)
m_loadedProperty->resolve(this);
else if (m_status == Error)
« no previous file with comments | « sky/engine/core/css/FontFace.h ('k') | sky/engine/core/css/StylePropertySet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698