| Index: skia/ext/platform_canvas.cc
|
| diff --git a/skia/ext/platform_canvas.cc b/skia/ext/platform_canvas.cc
|
| index de2daa6e7985040a5104261f2e67bcb1ff2c1875..cf78a4ea925ddcb22780f922c08753415844170f 100644
|
| --- a/skia/ext/platform_canvas.cc
|
| +++ b/skia/ext/platform_canvas.cc
|
| @@ -105,7 +105,7 @@ CGContextRef GetBitmapContext(const SkCanvas& canvas) {
|
|
|
| ScopedPlatformPaint::ScopedPlatformPaint(SkCanvas* canvas) :
|
| canvas_(canvas),
|
| - platform_surface_(nullptr) {
|
| + native_drawing_context_(nullptr) {
|
| // TODO(tomhudson) we're assuming non-null canvas?
|
| PlatformDevice* platform_device = GetPlatformDevice(canvas->getTopDevice(true));
|
| if (platform_device) {
|
| @@ -113,7 +113,7 @@ ScopedPlatformPaint::ScopedPlatformPaint(SkCanvas* canvas) :
|
| SkMatrix ctm;
|
| SkIRect clip_bounds;
|
| canvas->temporary_internal_describeTopLayer(&ctm, &clip_bounds);
|
| - platform_surface_ = platform_device->BeginPlatformPaint(ctm, clip_bounds);
|
| + native_drawing_context_ = platform_device->BeginPlatformPaint(ctm, clip_bounds);
|
| }
|
| }
|
|
|
|
|