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

Unified Diff: skia/ext/platform_canvas_win.h

Issue 19486: Lint cleanup. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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
Index: skia/ext/platform_canvas_win.h
===================================================================
--- skia/ext/platform_canvas_win.h (revision 8931)
+++ skia/ext/platform_canvas_win.h (working copy)
@@ -99,7 +99,8 @@
template <class T>
class CanvasPaintT : public T {
public:
- CanvasPaintT(HWND hwnd) : hwnd_(hwnd), paint_dc_(NULL), for_paint_(true) {
+ explicit CanvasPaintT(HWND hwnd) : hwnd_(hwnd), paint_dc_(NULL),
+ for_paint_(true) {
memset(&ps_, 0, sizeof(ps_));
initPaint(true);
}
@@ -198,4 +199,3 @@
} // namespace skia
#endif // SKIA_EXT_PLATFORM_CANVAS_WIN_H_
-

Powered by Google App Engine
This is Rietveld 408576698