Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(791)

Unified Diff: Source/web/WebPopupMenuImpl.cpp

Issue 880653004: Blink side of changes to enable cache clearing without a flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mistake in LinkHighlight Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/WebPopupMenuImpl.cpp
diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp
index 0c7001a30a245599aba664a96aa706d823da8cb5..a1f32e829254156ab676f3ddfd7ae21141a296de 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::PaintDefaultBehavior ? GraphicsContext::NothingDisabled : GraphicsContext::FullyDisabled);
m_widget->paint(&context, rect);
}
}

Powered by Google App Engine
This is Rietveld 408576698