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

Unified Diff: ui/gfx/path_win.h

Issue 673623002: Fix regions generation on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build. Created 6 years, 1 month 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 | « ui/gfx/gfx_tests.gyp ('k') | ui/gfx/path_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/path_win.h
diff --git a/ui/gfx/path_win.h b/ui/gfx/path_win.h
index 317a6fb0700b4744855d95d855a696c6c6139eb2..2b850753f98435607f36be79ab395ec1729497ec 100644
--- a/ui/gfx/path_win.h
+++ b/ui/gfx/path_win.h
@@ -19,7 +19,7 @@ namespace gfx {
GFX_EXPORT HRGN CreateHRGNFromSkRegion(const SkRegion& path);
// Creates a new HRGN given |path|. The caller is responsible for destroying
-// the returned region.
+// the returned region. Returns empty region (not NULL) for empty path.
GFX_EXPORT HRGN CreateHRGNFromSkPath(const SkPath& path);
} // namespace gfx
« no previous file with comments | « ui/gfx/gfx_tests.gyp ('k') | ui/gfx/path_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698