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

Unified Diff: third_party/WebKit/Source/core/fetch/FontResource.h

Issue 2399473002: Remove Resource::create() to ensure proper subclasses of Resource are created (Closed)
Patch Set: Rebase Created 4 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
Index: third_party/WebKit/Source/core/fetch/FontResource.h
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.h b/third_party/WebKit/Source/core/fetch/FontResource.h
index 7029d9d7b56588eab7e2aff1c3573d2f75e7b34e..97ea91f2ea76ce92fe8f0dfc61ea812019b653c2 100644
--- a/third_party/WebKit/Source/core/fetch/FontResource.h
+++ b/third_party/WebKit/Source/core/fetch/FontResource.h
@@ -26,6 +26,7 @@
#ifndef FontResource_h
#define FontResource_h
+#include "core/CoreExport.h"
#include "core/fetch/Resource.h"
#include "core/fetch/ResourceClient.h"
#include "platform/Timer.h"
@@ -41,7 +42,7 @@ class FontPlatformData;
class FontCustomPlatformData;
class FontResourceClient;
-class FontResource final : public Resource {
+class CORE_EXPORT FontResource final : public Resource {
public:
using ClientType = FontResourceClient;

Powered by Google App Engine
This is Rietveld 408576698