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

Unified Diff: src/core/SkCanvas.cpp

Issue 211173005: Minor cleanup (moved out of main CL) (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 9 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 | « no previous file | src/core/SkPictureStateTree.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | src/core/SkPictureStateTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698