diff --git a/graphic_lite/ui/a/src/UiInterfaceTest.cpp b/graphic_lite/ui/a/src/UiInterfaceTest.cpp index 21cce64298de8ff335f01ae1ac825918441bad92..fa186a47ef7a19551782e27978ab7d16c7e18b06 100755 --- a/graphic_lite/ui/a/src/UiInterfaceTest.cpp +++ b/graphic_lite/ui/a/src/UiInterfaceTest.cpp @@ -35,6 +35,7 @@ #include "events/aod_callback.h" #include "events/press_event.h" #include "events/virtual_device_event.h" +#include "gfx_utils/graphic_buffer.h" #include "gfx_utils/graphic_math.h" #include "themes/theme_manager.h" #include "window/window.h" @@ -746,7 +747,8 @@ HWTEST_F(UiInterfaceTest, SUB_GRAPHIC_INTERFACE_FIRST_6300, Function | MediumTes font->IsLineSegmentCross(); font->IsRectCross(); font->SetOnChangeListener(); - uiView->OnPostDraw(*rect); + BufferInfo bufferInfo; + uiView->OnPostDraw(bufferInfo, *rect); EXPECT_EQ(0, 0); delete font; delete rect;