diff options
Diffstat (limited to 'services/surfaceflinger/RenderArea.cpp')
-rw-r--r-- | services/surfaceflinger/RenderArea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/RenderArea.cpp b/services/surfaceflinger/RenderArea.cpp index 7f69ce4b3e..918bbd3a47 100644 --- a/services/surfaceflinger/RenderArea.cpp +++ b/services/surfaceflinger/RenderArea.cpp @@ -19,9 +19,9 @@ ui::Transform::orientation_flags fromRotation(ISurfaceComposer::Rotation rotatio return ui::Transform::ROT_0; } -RenderArea::RenderArea(uint32_t reqHeight, uint32_t reqWidth, CaptureFill captureFill, +RenderArea::RenderArea(uint32_t reqWidth, uint32_t reqHeight, CaptureFill captureFill, ISurfaceComposer::Rotation rotation) - : mReqHeight(reqHeight), mReqWidth(reqWidth), mCaptureFill(captureFill) { + : mReqWidth(reqWidth), mReqHeight(reqHeight), mCaptureFill(captureFill) { mRotationFlags = fromRotation(rotation); } |