summaryrefslogtreecommitdiff
path: root/libs/hwui/PatchCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/PatchCache.h')
-rw-r--r--libs/hwui/PatchCache.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/hwui/PatchCache.h b/libs/hwui/PatchCache.h
index 6dad8314d069..b0774692df2b 100644
--- a/libs/hwui/PatchCache.h
+++ b/libs/hwui/PatchCache.h
@@ -17,8 +17,6 @@
#ifndef ANDROID_UI_PATCH_CACHE_H
#define ANDROID_UI_PATCH_CACHE_H
-#include <utils/ResourceTypes.h>
-
#include "Patch.h"
#include "GenerationCache.h"
@@ -55,7 +53,7 @@ public:
*/
void operator()(PatchDescription& description, Patch*& mesh);
- Patch* get(const Res_png_9patch* patch);
+ Patch* get(uint32_t width, uint32_t height);
void clear();
private: