Index: src/core/SkCanvas.cpp |
=================================================================== |
--- src/core/SkCanvas.cpp (revision 13942) |
+++ src/core/SkCanvas.cpp (working copy) |
@@ -939,8 +939,8 @@ |
return this->internalSaveLayer(bounds, paint, flags, false, strategy); |
} |
-static SkBaseDevice* createCompatibleDevice(SkCanvas* canvas, |
- const SkImageInfo& info) { |
+static SkBaseDevice* create_compatible_device(SkCanvas* canvas, |
+ const SkImageInfo& info) { |
SkBaseDevice* device = canvas->getDevice(); |
return device ? device->createCompatibleDevice(info) : NULL; |
} |
@@ -988,7 +988,7 @@ |
SkBaseDevice* device; |
if (paint && paint->getImageFilter()) { |
- device = createCompatibleDevice(this, info); |
+ device = create_compatible_device(this, info); |
} else { |
device = this->createLayerDevice(info); |
} |