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

Unified Diff: skia/ext/bitmap_platform_device_cairo.h

Issue 2613583002: Remove skia::ScopedPlatformPaint (Closed)
Patch Set: Created 3 years, 12 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/bitmap_platform_device_cairo.h
diff --git a/skia/ext/bitmap_platform_device_cairo.h b/skia/ext/bitmap_platform_device_cairo.h
index d1c9c3509133efb3b041adc1705f327ecafd100b..5e6a6f3a433dcf480a3b7ca6e218de100218c3ac 100644
--- a/skia/ext/bitmap_platform_device_cairo.h
+++ b/skia/ext/bitmap_platform_device_cairo.h
@@ -46,8 +46,6 @@ typedef struct _cairo_surface cairo_surface_t;
namespace skia {
-class ScopedPlatformPaint;
-
// -----------------------------------------------------------------------------
// 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
@@ -98,14 +96,7 @@ class BitmapPlatformDevice : public SkBitmapDevice, public PlatformDevice {
// Graphics context used to draw into the surface.
cairo_t* cairo_;
- // True when there is a transform or clip that has not been set to the
- // context. The context is retrieved for every text operation, and the
- // transform and clip do not change as much. We can save time by not loading
- // the clip and transform for every one.
- bool config_dirty_;
-
DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice);
- friend class ScopedPlatformPaint;
};
} // namespace skia
« no previous file with comments | « content/browser/compositor/software_output_device_win.cc ('k') | skia/ext/bitmap_platform_device_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698