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

Unified Diff: third_party/WebKit/Source/core/css/FontFace.h

Issue 2583093002: Reduce SuspendableObjects (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/core/css/FontFace.h
diff --git a/third_party/WebKit/Source/core/css/FontFace.h b/third_party/WebKit/Source/core/css/FontFace.h
index 26ac397182138799d1776c2515cbd83568416d1f..f4ed0f6019a8b60385c0e96022349c67dbcb0104 100644
--- a/third_party/WebKit/Source/core/css/FontFace.h
+++ b/third_party/WebKit/Source/core/css/FontFace.h
@@ -37,8 +37,8 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CSSPropertyNames.h"
#include "core/css/CSSValue.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "core/dom/DOMException.h"
-#include "core/dom/SuspendableObject.h"
#include "platform/fonts/FontTraits.h"
#include "wtf/text/WTFString.h"
@@ -58,7 +58,7 @@ class StyleRuleFontFace;
class FontFace : public GarbageCollectedFinalized<FontFace>,
public ScriptWrappable,
public ActiveScriptWrappable<FontFace>,
- public SuspendableObject {
+ public ContextLifecycleObserver {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(FontFace);
WTF_MAKE_NONCOPYABLE(FontFace);
@@ -72,7 +72,7 @@ class FontFace : public GarbageCollectedFinalized<FontFace>,
const FontFaceDescriptors&);
static FontFace* create(Document*, const StyleRuleFontFace*);
- ~FontFace();
+ virtual ~FontFace();
const AtomicString& family() const { return m_family; }
String style() const;
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.cpp ('k') | third_party/WebKit/Source/core/css/FontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698