Index: Source/platform/graphics/Pattern.h |
diff --git a/Source/platform/graphics/Pattern.h b/Source/platform/graphics/Pattern.h |
index 2aa2cde64ca8774a844debc49df1659f764088fa..a255dc5dcf7490107afdd1867050b771f2f2f41c 100644 |
--- a/Source/platform/graphics/Pattern.h |
+++ b/Source/platform/graphics/Pattern.h |
@@ -41,6 +41,8 @@ class SkShader; |
namespace blink { |
+class DisplayList; |
+ |
class PLATFORM_EXPORT Pattern : public RefCounted<Pattern> { |
public: |
enum RepeatMode { |
@@ -53,6 +55,8 @@ public: |
static PassRefPtr<Pattern> createBitmapPattern(PassRefPtr<Image> tileImage, |
RepeatMode = RepeatModeXY); |
+ static PassRefPtr<Pattern> createDisplayListPattern(PassRefPtr<DisplayList>, |
+ RepeatMode = RepeatModeXY); |
virtual ~Pattern(); |
SkShader* shader(); |