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

Unified Diff: skia/ext/skia_utils_win.h

Issue 2365903002: Fix GDI leak in NativeThemeWin::PaintIndirect (Closed)
Patch Set: fix comment 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 | « no previous file | skia/ext/skia_utils_win.cc » ('j') | ui/native_theme/native_theme_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_utils_win.h
diff --git a/skia/ext/skia_utils_win.h b/skia/ext/skia_utils_win.h
index 368d91b895fa200bd2d0203ba590e63f7a5875e5..bb979b67a2777e985c632a59f249635be4514b98 100644
--- a/skia/ext/skia_utils_win.h
+++ b/skia/ext/skia_utils_win.h
@@ -71,13 +71,6 @@ SK_API sk_sp<SkSurface> MapPlatformSurface(HDC context);
// Returns an empty bitmap on error.
SK_API SkBitmap MapPlatformBitmap(HDC context);
-// Creates an offscreen HDC suitable for writing to via MapPlatformSurface().
-// Caller is responsible for calling DeleteDC() when done.
-// Will return null if any errors are encountered.
-// TODO(fmalita): consider returning ScopedCreateDC() when that type is
-// returnable (https://crbug.com/622442)
-SK_API HDC CreateOffscreenSurface(int width, int height);
-
// Fills in a BITMAPINFOHEADER structure given the bitmap's size.
SK_API void CreateBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr);
« no previous file with comments | « no previous file | skia/ext/skia_utils_win.cc » ('j') | ui/native_theme/native_theme_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698