| Index: Source/web/WebPopupMenuImpl.cpp
|
| diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp
|
| index 0c7001a30a245599aba664a96aa706d823da8cb5..e4c93a710e769664709d21907358db40fedd5a82 100644
|
| --- a/Source/web/WebPopupMenuImpl.cpp
|
| +++ b/Source/web/WebPopupMenuImpl.cpp
|
| @@ -210,14 +210,14 @@ void WebPopupMenuImpl::layout()
|
| {
|
| }
|
|
|
| -void WebPopupMenuImpl::paintContents(WebCanvas* canvas, const WebRect& rect, WebContentLayerClient::GraphicsContextStatus contextStatus)
|
| +void WebPopupMenuImpl::paintContents(WebCanvas* canvas, const WebRect& rect, WebContentLayerClient::PaintingControlSetting paintingControl)
|
| {
|
| if (!m_widget)
|
| return;
|
|
|
| if (!rect.isEmpty()) {
|
| GraphicsContext context(canvas, nullptr,
|
| - contextStatus == WebContentLayerClient::GraphicsContextEnabled ? GraphicsContext::NothingDisabled : GraphicsContext::FullyDisabled);
|
| + paintingControl == PaintingControlSetting::DisplayListConstructionDisabled ? GraphicsContext::FullyDisabled : GraphicsContext::NothingDisabled);
|
| m_widget->paint(&context, rect);
|
| }
|
| }
|
|
|