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

Unified Diff: Source/platform/graphics/paint/ClipRecorder.cpp

Issue 1198583003: Remove SkRegion::kIntersect_Op parameter from ClipDisplayItems (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/platform/graphics/paint/ClipRecorder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/ClipRecorder.cpp
diff --git a/Source/platform/graphics/paint/ClipRecorder.cpp b/Source/platform/graphics/paint/ClipRecorder.cpp
index 89471735da5e17201d0753c382e0102209552f18..978b19640455e95001101d2147adbb374d38c0c4 100644
--- a/Source/platform/graphics/paint/ClipRecorder.cpp
+++ b/Source/platform/graphics/paint/ClipRecorder.cpp
@@ -12,7 +12,7 @@
namespace blink {
-ClipRecorder::ClipRecorder(GraphicsContext& context, const DisplayItemClientWrapper& client, DisplayItem::Type type, const LayoutRect& clipRect, SkRegion::Op operation)
+ClipRecorder::ClipRecorder(GraphicsContext& context, const DisplayItemClientWrapper& client, DisplayItem::Type type, const LayoutRect& clipRect)
: m_client(client)
, m_context(context)
, m_type(type)
@@ -21,9 +21,9 @@ ClipRecorder::ClipRecorder(GraphicsContext& context, const DisplayItemClientWrap
ASSERT(m_context.displayItemList());
if (m_context.displayItemList()->displayItemConstructionIsDisabled())
return;
- m_context.displayItemList()->add(ClipDisplayItem::create(m_client, type, pixelSnappedIntRect(clipRect), operation));
+ m_context.displayItemList()->add(ClipDisplayItem::create(m_client, type, pixelSnappedIntRect(clipRect)));
} else {
- ClipDisplayItem clipDisplayItem(m_client, type, pixelSnappedIntRect(clipRect), operation);
+ ClipDisplayItem clipDisplayItem(m_client, type, pixelSnappedIntRect(clipRect));
clipDisplayItem.replay(m_context);
}
}
« no previous file with comments | « Source/platform/graphics/paint/ClipRecorder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698