diff options
Diffstat (limited to 'skia/ext/platform_canvas_win.h')
-rw-r--r-- | skia/ext/platform_canvas_win.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skia/ext/platform_canvas_win.h b/skia/ext/platform_canvas_win.h index 88f9cea..7a8c31e 100644 --- a/skia/ext/platform_canvas_win.h +++ b/skia/ext/platform_canvas_win.h @@ -57,6 +57,8 @@ class PlatformCanvasWin : public SkCanvas { // by the next call to save() or restore(). PlatformDeviceWin& getTopPlatformDevice() const; + static size_t StrideForWidth(unsigned width); + protected: // Creates a device store for use by the canvas. We override this so that // the device is always our own so we know that we can use GDI operations |