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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp

Issue 2575533002: SkClipOp is an enum class now (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/platform/graphics/paint/DrawingRecorder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp
index a6011c9c7fa76775fe12ddf65368f260085e1f96..da4423323e9ad1c61188ac8dadf3b151378362ee 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp
@@ -61,7 +61,7 @@ DrawingRecorder::DrawingRecorder(GraphicsContext& context,
// expand by one pixel in device (pixel) space, but to do that we would need
// to add the verification mode to Skia.
cullRect.inflate(1);
- context.clipRect(cullRect, NotAntiAliased, kIntersect_SkClipOp);
+ context.clipRect(cullRect, NotAntiAliased, SkClipOp::kIntersect);
}
#endif
}
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp ('k') | ui/compositor/clip_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698