aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/views
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-02-23 13:24:49 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-24 16:03:27 +0000
commit20de615e3d02ff52c9a3c319ce35bcaace97be25 (patch)
tree0e1576ad906828429d400c553d3a54ea662cfb95 /src/views
parenta109e3926ed2fbbb41471a140b64297ea8554357 (diff)
headers: forward declare SkDOM, and include SkClipOp
Change-Id: I38041cd2c71a89604f35832415287e2356592efd Reviewed-on: https://skia-review.googlesource.com/8925 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/views')
-rw-r--r--src/views/SkEvent.cpp1
-rw-r--r--src/views/SkView.cpp1
-rw-r--r--src/views/SkViewPriv.cpp2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/views/SkEvent.cpp b/src/views/SkEvent.cpp
index 57e165f2df..c218ee419d 100644
--- a/src/views/SkEvent.cpp
+++ b/src/views/SkEvent.cpp
@@ -6,6 +6,7 @@
*/
+#include "SkDOM.h"
#include "SkEvent.h"
void SkEvent::initialize(const char* type, size_t typeLen,
diff --git a/src/views/SkView.cpp b/src/views/SkView.cpp
index 9404fad625..9c148dfac7 100644
--- a/src/views/SkView.cpp
+++ b/src/views/SkView.cpp
@@ -7,6 +7,7 @@
#include "SkView.h"
#include "SkCanvas.h"
+#include "SkDOM.h"
static inline uint32_t SkSetClearShift(uint32_t bits, bool cond, unsigned shift) {
SkASSERT((int)cond == 0 || (int)cond == 1);
diff --git a/src/views/SkViewPriv.cpp b/src/views/SkViewPriv.cpp
index 7dbe5f1cae..b426ade433 100644
--- a/src/views/SkViewPriv.cpp
+++ b/src/views/SkViewPriv.cpp
@@ -4,6 +4,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
+#include "SkDOM.h"
#include "SkViewPriv.h"
//////////////////////////////////////////////////////////////////////