diff options
Diffstat (limited to 'core/fxge/skia/fx_skia_device_unittest.cpp')
-rw-r--r-- | core/fxge/skia/fx_skia_device_unittest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fxge/skia/fx_skia_device_unittest.cpp b/core/fxge/skia/fx_skia_device_unittest.cpp index 3b799e6190..afd47780d7 100644 --- a/core/fxge/skia/fx_skia_device_unittest.cpp +++ b/core/fxge/skia/fx_skia_device_unittest.cpp @@ -36,8 +36,7 @@ void EmptyTest(CFX_SkiaDeviceDriver* driver, const State&) { void CommonTest(CFX_SkiaDeviceDriver* driver, const State& state) { FXTEXT_CHARPOS charPos[1]; - charPos[0].m_OriginX = 0; - charPos[0].m_OriginY = 1; + charPos[0].m_Origin = CFX_PointF(0, 1); charPos[0].m_GlyphIndex = 1; charPos[0].m_FontCharWidth = 4; |