| Index: third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h b/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
|
| index a95d456f46acb7c712e3ee7f5c35ad6619123295..ec16b9d3cca1f1dc3e1690ee20df2d2c551b97b3 100644
|
| --- a/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
|
| +++ b/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
|
| @@ -26,6 +26,7 @@
|
| #ifndef StyleSheetResourceClient_h
|
| #define StyleSheetResourceClient_h
|
|
|
| +#include "core/CoreExport.h"
|
| #include "core/fetch/ResourceClient.h"
|
| #include "platform/weborigin/KURL.h"
|
| #include "wtf/Forward.h"
|
| @@ -33,7 +34,7 @@
|
| namespace blink {
|
| class CSSStyleSheetResource;
|
|
|
| -class StyleSheetResourceClient : public GarbageCollectedMixin, public ResourceClient {
|
| +class CORE_EXPORT StyleSheetResourceClient : public GarbageCollectedMixin, public ResourceClient {
|
| public:
|
| ~StyleSheetResourceClient() override {}
|
| static bool isExpectedType(ResourceClient* client) { return client->getResourceClientType() == StyleSheetType; }
|
| @@ -41,6 +42,11 @@ public:
|
| virtual void setCSSStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* charset */, const CSSStyleSheetResource*) {}
|
| virtual void setXSLStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* sheet */) {}
|
|
|
| + // This gets called on the very first appendData call for the
|
| + // CSSStyleSheetResource. Note this is not called for StyleSheetResources
|
| + // other than CSSStyleSheetResources.
|
| + virtual void didAppendFirstData(const CSSStyleSheetResource*) {}
|
| +
|
| DEFINE_INLINE_VIRTUAL_TRACE() {}
|
| };
|
|
|
|
|