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

Unified Diff: chrome/browser/ui/views/tabs/tab.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
Index: chrome/browser/ui/views/tabs/tab.cc
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
index f1e4cf753b88d5b8a632c740b9e35a3894158bfd..4faa9d52445892cc0a317c5d13535c66db33244b 100644
--- a/chrome/browser/ui/views/tabs/tab.cc
+++ b/chrome/browser/ui/views/tabs/tab.cc
@@ -1276,7 +1276,7 @@ void Tab::PaintInactiveTabBackground(gfx::Canvas* canvas,
use_fill_and_stroke_images ? canvas : nullptr);
if (use_fill_and_stroke_images) {
canvas->DrawImageInt(it->fill_image, 0, 0);
- canvas->sk_canvas()->clipPath(clip, kDifference_SkClipOp, true);
+ canvas->sk_canvas()->clipPath(clip, SkClipOp::kDifference, true);
}
canvas->DrawImageInt(it->stroke_image, 0, 0);
}
« no previous file with comments | « chrome/browser/ui/views/frame/windows_10_caption_button.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698