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

Unified Diff: Source/core/paint/ClipRecorder.cpp

Issue 718943003: Rename updateIntrinsicContentLogicalHeight to setIntrinsicContentLogicalHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tryin' again Created 6 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
« no previous file with comments | « Source/core/paint/ClipRecorder.h ('k') | Source/core/paint/GraphicsContextRecorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ClipRecorder.cpp
diff --git a/Source/core/paint/ClipRecorder.cpp b/Source/core/paint/ClipRecorder.cpp
index c21acc84f22c6adff9fa9179f7e039e63a077ef8..565dc43670e91abfbe486758c60798402cd7b5a5 100644
--- a/Source/core/paint/ClipRecorder.cpp
+++ b/Source/core/paint/ClipRecorder.cpp
@@ -16,13 +16,13 @@
namespace blink {
-ClipRecorder::ClipRecorder(RenderLayerModelObject& canvas, const PaintInfo& paintInfo, const LayoutRect& clipRect)
+ClipRecorder::ClipRecorder(RenderLayerModelObject& canvas, const PaintInfo& paintInfo, const LayoutRect& clipRect, SkRegion::Op operation)
: m_clipRect(clipRect)
, m_paintInfo(paintInfo)
, m_canvas(canvas)
{
DisplayItem::Type type = paintPhaseToClipType(paintInfo.phase);
- OwnPtr<ClipDisplayItem> clipDisplayItem = adoptPtr(new ClipDisplayItem(m_canvas.displayItemClient(), type, pixelSnappedIntRect(clipRect)));
+ OwnPtr<ClipDisplayItem> clipDisplayItem = adoptPtr(new ClipDisplayItem(m_canvas.displayItemClient(), type, pixelSnappedIntRect(clipRect), operation));
if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
if (RenderLayer* container = m_canvas.enclosingLayer()->enclosingLayerForPaintInvalidationCrossingFrameBoundaries())
« no previous file with comments | « Source/core/paint/ClipRecorder.h ('k') | Source/core/paint/GraphicsContextRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698