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

Unified Diff: ui/compositor/clip_recorder.cc

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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp ('k') | ui/gfx/canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/clip_recorder.cc
diff --git a/ui/compositor/clip_recorder.cc b/ui/compositor/clip_recorder.cc
index 14650dfba0abb94b602e48cf5ad398fb8542426e..7e4e31457fd6335e58b70a5c6d56b8de1941c78c 100644
--- a/ui/compositor/clip_recorder.cc
+++ b/ui/compositor/clip_recorder.cc
@@ -49,14 +49,14 @@ void ClipRecorder::ClipRect(const gfx::Rect& clip_rect) {
void ClipRecorder::ClipPath(const gfx::Path& clip_path) {
bool antialias = false;
context_.list_->CreateAndAppendPairedBeginItem<cc::ClipPathDisplayItem>(
- clip_path, kIntersect_SkClipOp, antialias);
+ clip_path, SkClipOp::kIntersect, antialias);
RecordCloser(CLIP_PATH);
}
void ClipRecorder::ClipPathWithAntiAliasing(const gfx::Path& clip_path) {
bool antialias = true;
context_.list_->CreateAndAppendPairedBeginItem<cc::ClipPathDisplayItem>(
- clip_path, kIntersect_SkClipOp, antialias);
+ clip_path, SkClipOp::kIntersect, antialias);
RecordCloser(CLIP_PATH);
}
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp ('k') | ui/gfx/canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698