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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2163113002: Remove DebugRedFill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ChunkId
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 687b58d8451b0789bb81f5d439dc29cfbdc80004..ae1342c015da61079e5fed989144431770cf8b2d 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2639,20 +2639,8 @@ void FrameView::synchronizedPaint()
void FrameView::synchronizedPaintRecursively(GraphicsLayer* graphicsLayer)
{
- if (graphicsLayer->drawsContent()) {
- // Usually this is not needed because the PaintLayer will setup the chunk properties
- // altogether. However in debug builds the GraphicsLayer could paint debug background before
- // we ever reach the PaintLayer.
- Optional<ScopedPaintChunkProperties> scopedPaintChunkProperties;
- if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
- PaintChunkProperties properties;
- properties.transform = m_rootTransform;
- properties.clip = m_rootClip;
- properties.effect = m_rootEffect;
- scopedPaintChunkProperties.emplace(graphicsLayer->getPaintController(), *layoutView(), DisplayItem::DebugRedFill, properties);
- }
+ if (graphicsLayer->drawsContent())
graphicsLayer->paint(nullptr);
- }
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
if (GraphicsLayer* maskLayer = graphicsLayer->maskLayer())
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698