| 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.
|
|
|