diff options
author | 2015-07-29 16:48:58 -0700 | |
---|---|---|
committer | 2015-07-30 09:51:52 -0700 | |
commit | 272a685f17cc4828257e521a6f62b7b17870f75e (patch) | |
tree | 490cc3f92f5c50debc07421395ab54c3fd7f2fd6 /libs/hwui/Patch.cpp | |
parent | c36df952292b69920d4764a8a37361073fcf4f2c (diff) |
Replace most usages of utils/Vector.h
Change-Id: I540d1b3523244d6c71fc52d6fb30555271c25644
Diffstat (limited to 'libs/hwui/Patch.cpp')
-rw-r--r-- | libs/hwui/Patch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/Patch.cpp b/libs/hwui/Patch.cpp index 15d2ae94aeaa..500f9e95381c 100644 --- a/libs/hwui/Patch.cpp +++ b/libs/hwui/Patch.cpp @@ -206,8 +206,7 @@ void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, f // Record all non empty quads if (hasEmptyQuads) { - Rect bounds(x1, y1, x2, y2); - quads.add(bounds); + quads.emplace_back(x1, y1, x2, y2); } mUvMapper.map(u1, v1, u2, v2); |