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

Unified Diff: skia/ext/bitmap_platform_device_linux.cc

Issue 2802034: Linux: Flush cairo surface at end of CanvasPaintLinux. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: . Created 10 years, 5 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
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | skia/ext/canvas_paint_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/bitmap_platform_device_linux.cc
diff --git a/skia/ext/bitmap_platform_device_linux.cc b/skia/ext/bitmap_platform_device_linux.cc
index ccd8d273aab5450aff83eb11b48e200bbc4a9f46..f170273fc38ff0479fbabea2363918946732a02d 100644
--- a/skia/ext/bitmap_platform_device_linux.cc
+++ b/skia/ext/bitmap_platform_device_linux.cc
@@ -47,7 +47,6 @@ class BitmapPlatformDevice::BitmapPlatformDeviceData
explicit BitmapPlatformDeviceData(cairo_surface_t* surface);
cairo_t* GetContext();
- cairo_surface_t* GetSurface();
// Sets the transform and clip operations. This will not update the Cairo
// surface, but will mark the config as dirty. The next call of LoadConfig
@@ -110,13 +109,6 @@ void BitmapPlatformDevice::BitmapPlatformDeviceData::SetMatrixClip(
config_dirty_ = true;
}
-cairo_surface_t*
-BitmapPlatformDevice::BitmapPlatformDeviceData::GetSurface() {
- // TODO(brettw) this function should be removed.
- LoadConfig();
- return surface_;
-}
-
void BitmapPlatformDevice::BitmapPlatformDeviceData::LoadConfig() {
if (!config_dirty_ || !context_)
return; // Nothing to do.
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | skia/ext/canvas_paint_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698