diff options
Diffstat (limited to 'skia/ext/platform_canvas_win.cc')
-rw-r--r-- | skia/ext/platform_canvas_win.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/skia/ext/platform_canvas_win.cc b/skia/ext/platform_canvas_win.cc index ed0d6d7..a7d878f 100644 --- a/skia/ext/platform_canvas_win.cc +++ b/skia/ext/platform_canvas_win.cc @@ -118,4 +118,9 @@ SkDevice* PlatformCanvasWin::setBitmapDevice(const SkBitmap&) { return NULL; } +// static +size_t PlatformCanvasWin::StrideForWidth(unsigned width) { + return 4 * width; +} + } // namespace skia |