[Win][Clang] duplicated variable name `advance` in UniscribeController::shapeAndPlaceItem
authorHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Sep 2018 23:47:20 +0000 (23:47 +0000)
committerHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Sep 2018 23:47:20 +0000 (23:47 +0000)
commit92d7b5714ff48f7f20f28b090d6e507c5c8016a9
treeae9ecded38464087237c8942d8cb974c1f3a17d1
parentcf7cb8345fcf91ff873764a62e16e3195d13072f
[Win][Clang] duplicated variable name `advance` in UniscribeController::shapeAndPlaceItem
https://bugs.webkit.org/show_bug.cgi?id=189399

Reviewed by Myles C. Maxfield.

Clang reports the following compilation error:

UniscribeController.cpp(372,56):  error: invalid operands to binary expression ('float' and 'WebCore::GlyphBufferAdvance' (aka 'WebCore::FloatSize'))
     GlyphBufferAdvance advance(-origin.width() + advance, -origin.height());
                                ~~~~~~~~~~~~~~~ ^ ~~~~~~~
No new tests (No behavior change).

* platform/graphics/win/UniscribeController.cpp:
(WebCore::UniscribeController::shapeAndPlaceItem): Replaced the second variable named `advance` with `glyphAdvance`.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/win/UniscribeController.cpp