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

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

Issue 2340273002: Fix FontFaceSet state getting stuck at loading (Closed)
Patch Set: Separate test case Created 4 years, 3 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 | « third_party/WebKit/Source/core/css/CSSFontFace.cpp ('k') | third_party/WebKit/Source/core/css/FontFace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d5b17d6765c1eba91d831d79d85300a6f6fbfaaf..f6e5b45c205caa07789a467f2a4252ad288a017e 100644
--- a/third_party/WebKit/Source/core/css/FontFace.h
+++ b/third_party/WebKit/Source/core/css/FontFace.h
@@ -101,7 +101,7 @@ public:
bool hadBlankText() const;
- class LoadFontCallback : public GarbageCollectedFinalized<LoadFontCallback> {
+ class LoadFontCallback : public GarbageCollectedMixin {
public:
virtual ~LoadFontCallback() { }
virtual void notifyLoaded(FontFace*) = 0;
@@ -109,6 +109,7 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { }
};
void loadWithCallback(LoadFontCallback*, ExecutionContext*);
+ void addCallback(LoadFontCallback*);
// ScriptWrappable:
bool hasPendingActivity() const final;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFace.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