Chromium Code Reviews| Index: skia/ext/bitmap_platform_device_linux.h |
| =================================================================== |
| --- skia/ext/bitmap_platform_device_linux.h (revision 90617) |
| +++ skia/ext/bitmap_platform_device_linux.h (working copy) |
| @@ -44,13 +44,6 @@ |
| namespace skia { |
| -class BitmapPlatformDeviceFactory : public SkDeviceFactory { |
| - public: |
| - virtual SkDevice* newDevice(SkCanvas* ignored, SkBitmap::Config config, |
| - int width, int height, |
| - bool isOpaque, bool isForLayer); |
| -}; |
| - |
| // ----------------------------------------------------------------------------- |
| // This is the Linux bitmap backing for Skia. We create a Cairo image surface |
| // to store the backing buffer. This buffer is BGRA in memory (on little-endian |
| @@ -93,8 +86,8 @@ |
| virtual cairo_t* BeginPlatformPaint(); |
| protected: |
| - // Override SkDevice. |
| - virtual SkDeviceFactory* onNewDeviceFactory(); |
| + virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, |
|
vandebo (ex-Chrome)
2011/06/28 19:07:54
nit: extra space after Config. (multiple occurrenc
|
| + int height, bool isOpaque, Usage); |
|
vandebo (ex-Chrome)
2011/06/28 19:07:54
nit: 'Usage usage' or 'SkDevice:Usage usage' (mult
vandebo (ex-Chrome)
2011/06/30 21:58:36
Yea, the ask is Usage usage, or if you can think o
|
| private: |
| static BitmapPlatformDevice* Create(int width, int height, bool is_opaque, |