summaryrefslogtreecommitdiffstats
path: root/WebCore/css/CSSFontFaceSrcValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/css/CSSFontFaceSrcValue.cpp')
-rw-r--r--WebCore/css/CSSFontFaceSrcValue.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/css/CSSFontFaceSrcValue.cpp b/WebCore/css/CSSFontFaceSrcValue.cpp
index 3456532..308ff31 100644
--- a/WebCore/css/CSSFontFaceSrcValue.cpp
+++ b/WebCore/css/CSSFontFaceSrcValue.cpp
@@ -25,6 +25,8 @@
#include "config.h"
#include "CSSFontFaceSrcValue.h"
+#include "CSSStyleSheet.h"
+#include "Node.h"
namespace WebCore {
@@ -67,5 +69,11 @@ String CSSFontFaceSrcValue::cssText() const
return result;
}
+void CSSFontFaceSrcValue::addSubresourceStyleURLs(ListHashSet<KURL>& urls, const CSSStyleSheet* styleSheet)
+{
+ if (!isLocal())
+ addSubresourceURL(urls, styleSheet->completeURL(m_resource));
+}
+
}