diff options
Diffstat (limited to 'libs/hwui/RenderNode.h')
| -rw-r--r-- | libs/hwui/RenderNode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index 3500cb200a51..2c257510b341 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -171,11 +171,11 @@ public: return mStagingProperties; } - uint32_t getWidth() { + int getWidth() const { return properties().getWidth(); } - uint32_t getHeight() { + int getHeight() const { return properties().getHeight(); } @@ -188,7 +188,7 @@ public: AnimatorManager& animators() { return mAnimatorManager; } // Returns false if the properties dictate the subtree contained in this RenderNode won't render - bool applyViewProperties(CanvasState& canvasState) const; + bool applyViewProperties(CanvasState& canvasState, LinearAllocator& allocator) const; void applyViewPropertyTransforms(mat4& matrix, bool true3dTransform = false) const; |