summaryrefslogtreecommitdiff
path: root/libs/hwui/Snapshot.h
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2015-12-17 12:58:24 -0800
committer Chris Craik <ccraik@google.com> 2015-12-17 23:31:44 +0000
commita2a70723b8cbda4354d23f901f995623e819012c (patch)
tree4c58b998473a64955a5177109b55ddda21d24ef8 /libs/hwui/Snapshot.h
parent2b17db773e12deffecbc26e9aa591fb4d2e9f917 (diff)
Simplify ClipArea to prefer Rect args
Change-Id: I8af83d01dc5dd8009a0cd235dd8b59dab61d8560
Diffstat (limited to 'libs/hwui/Snapshot.h')
-rw-r--r--libs/hwui/Snapshot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Snapshot.h b/libs/hwui/Snapshot.h
index 4789b338d173..194aa5735a7e 100644
--- a/libs/hwui/Snapshot.h
+++ b/libs/hwui/Snapshot.h
@@ -124,7 +124,7 @@ public:
* the specified operation. The specified rectangle is transformed
* by this snapshot's trasnformation.
*/
- void clip(float left, float top, float right, float bottom, SkRegion::Op op);
+ void clip(const Rect& localClip, SkRegion::Op op);
/**
* Modifies the current clip with the new clip rectangle and