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

Unified Diff: samplecode/SampleApp.cpp

Issue 2355483002: abstract name of clipping ops, to transtion to a more restricted set (Closed)
Patch Set: no need for ifdef for globals Created 4 years, 3 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 | « public.bzl ('k') | samplecode/SampleClip.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.cpp
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index ee2b6e379dc6c7e4a6bbaf2f72f66eed8862845d..33b38c0876e715b5ddd813323918239c2d23ad5e 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -1349,7 +1349,7 @@ SkCanvas* SampleWindow::beforeChildren(SkCanvas* canvas) {
if (fUseClip) {
canvas->drawColor(0xFFFF88FF);
- canvas->clipPath(fClipPath, SkRegion::kIntersect_Op, true);
+ canvas->clipPath(fClipPath, SkCanvas::kIntersect_Op, true);
}
// Install a flags filter proxy canvas if needed
« no previous file with comments | « public.bzl ('k') | samplecode/SampleClip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698