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

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

Issue 2555283002: Add mask layer and offsetFromLayoutObject info to GraphicsLayer JSON (Closed)
Patch Set: 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 6f7d9e4c640af8e7fbe0576f3a4b1f03693cc350..1629ba1a749a2cf5d4250b86aaab7962ac70c4e6 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 = wrapUnique(new LayerClipRecorder(
context, *layer.layoutObject(), DisplayItem::kClipLayerFilter, clipRect,
&paintingInfo, LayoutPoint(), paintFlags));
+ }
Stephen Chennney 2016/12/07 20:29:11 Style fix forced upon us.
if (!context.getPaintController().displayItemConstructionIsDisabled()) {
CompositorFilterOperations compositorFilterOperations =

Powered by Google App Engine
This is Rietveld 408576698