diff options
author | 2014-03-28 17:58:28 +0000 | |
---|---|---|
committer | 2014-03-28 17:58:28 +0000 | |
commit | 972f9cd7a063d0544f8c919fd12b9a3adbd12b24 (patch) | |
tree | f72b7df8838068916ec1c61ed02db69342d9a21b /src/gpu/GrDrawTarget.h | |
parent | 0e9e6a331394721bdc47607733880d4c67b595dd (diff) |
SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h
BUG=skia:
R=bsalomon@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/216503004
git-svn-id: http://skia.googlecode.com/svn/trunk@13982 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrDrawTarget.h')
-rw-r--r-- | src/gpu/GrDrawTarget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h index 6b3d4637cc..ece2b8822e 100644 --- a/src/gpu/GrDrawTarget.h +++ b/src/gpu/GrDrawTarget.h @@ -607,8 +607,8 @@ public: bool succeeded() const { return NULL != fTarget; } void* vertices() const { SkASSERT(this->succeeded()); return fVertices; } void* indices() const { SkASSERT(this->succeeded()); return fIndices; } - GrPoint* positions() const { - return static_cast<GrPoint*>(this->vertices()); + SkPoint* positions() const { + return static_cast<SkPoint*>(this->vertices()); } private: |