aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-14 20:11:23 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-14 20:11:23 +0000
commit5da3f220034f89f3234b16b98bd86e7246941ffe (patch)
tree567f549e2936996a831380f979c405d634b2ef93
parent944c504961be1217111fb7af59e0059d9d33c22a (diff)
Fix includes in SkLayerDrawLooper.h. It was previously not possible to
include this header unless SkPoint and SkPaint were previously defined. BUG= R=reed@google.com, senorblanco@chromium.org Author: jbroman@chromium.org Review URL: https://chromiumcodereview.appspot.com/14607015 git-svn-id: http://skia.googlecode.com/svn/trunk@9130 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/effects/SkLayerDrawLooper.h4
-rw-r--r--src/effects/SkLayerDrawLooper.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/include/effects/SkLayerDrawLooper.h b/include/effects/SkLayerDrawLooper.h
index cec78b7466..bc1db1ae37 100644
--- a/include/effects/SkLayerDrawLooper.h
+++ b/include/effects/SkLayerDrawLooper.h
@@ -9,10 +9,10 @@
#define SkLayerDrawLooper_DEFINED
#include "SkDrawLooper.h"
+#include "SkPaint.h"
+#include "SkPoint.h"
#include "SkXfermode.h"
-struct SkPoint;
-
class SK_API SkLayerDrawLooper : public SkDrawLooper {
public:
SK_DECLARE_INST_COUNT(SkLayerDrawLooper)
diff --git a/src/effects/SkLayerDrawLooper.cpp b/src/effects/SkLayerDrawLooper.cpp
index ddd73083ad..34aaad899a 100644
--- a/src/effects/SkLayerDrawLooper.cpp
+++ b/src/effects/SkLayerDrawLooper.cpp
@@ -9,7 +9,6 @@
#include "SkColor.h"
#include "SkFlattenableBuffers.h"
#include "SkLayerDrawLooper.h"
-#include "SkPaint.h"
#include "SkString.h"
#include "SkStringUtils.h"
#include "SkUnPreMultiply.h"