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

Unified Diff: third_party/WebKit/Source/core/paint/FilterPainter.cpp

Issue 2555283002: Add mask layer and offsetFromLayoutObject info to GraphicsLayer JSON (Closed)
Patch Set: Rebased Created 4 years 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: third_party/WebKit/Source/core/paint/FilterPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FilterPainter.cpp b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
index b818723434592b8150efe6a6fc5c93d766d465c8..46e28f27611bdd247bc89e01b773b8d753f0d1ff 100644
--- a/third_party/WebKit/Source/core/paint/FilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
@@ -53,10 +53,11 @@ FilterPainter::FilterPainter(PaintLayer& layer,
DCHECK(m_layoutObject);
- if (clipRect.rect() != paintingInfo.paintDirtyRect || clipRect.hasRadius())
+ if (clipRect.rect() != paintingInfo.paintDirtyRect || clipRect.hasRadius()) {
m_clipRecorder = WTF::wrapUnique(new LayerClipRecorder(
context, *layer.layoutObject(), DisplayItem::kClipLayerFilter, clipRect,
&paintingInfo, LayoutPoint(), paintFlags));
+ }
if (!context.getPaintController().displayItemConstructionIsDisabled()) {
CompositorFilterOperations compositorFilterOperations =

Powered by Google App Engine
This is Rietveld 408576698