diff options
author | 2012-01-28 01:45:11 +0000 | |
---|---|---|
committer | 2012-01-28 01:45:11 +0000 | |
commit | 74b461961607fa57a150a9282c410ef0cab38764 (patch) | |
tree | 9068e45d51d9176383feff3c5ead98060a654393 /src/core/SkDevice.cpp | |
parent | 05e70247c31ae927074ef27ea9893634a8dda543 (diff) |
Formatting cleanup: remove extra whitespace
Change by arthurhsu@chromium.org, original CL: http://codereview.appspot.com/5587049/
Review URL: https://codereview.appspot.com/5594043
git-svn-id: http://skia.googlecode.com/svn/trunk@3098 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkDevice.cpp')
-rw-r--r-- | src/core/SkDevice.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index aaafb14fd1..dc7feaf402 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -34,7 +34,7 @@ SkDevice::~SkDevice() { delete fMetaData; } -SkDevice* SkDevice::createCompatibleDevice(SkBitmap::Config config, +SkDevice* SkDevice::createCompatibleDevice(SkBitmap::Config config, int width, int height, bool isOpaque) { return this->onCreateCompatibleDevice(config, width, height, @@ -48,8 +48,8 @@ SkDevice* SkDevice::createCompatibleDeviceForSaveLayer(SkBitmap::Config config, isOpaque, kSaveLayer_Usage); } -SkDevice* SkDevice::onCreateCompatibleDevice(SkBitmap::Config config, - int width, int height, +SkDevice* SkDevice::onCreateCompatibleDevice(SkBitmap::Config config, + int width, int height, bool isOpaque, Usage usage) { return SkNEW_ARGS(SkDevice,(config, width, height, isOpaque)); @@ -204,7 +204,7 @@ bool SkDevice::onReadPixels(const SkBitmap& bitmap, } if (SkBitmap::kARGB_8888_Config != subset.config()) { // It'd be preferable to do this directly to bitmap. - subset.copyTo(&subset, SkBitmap::kARGB_8888_Config); + subset.copyTo(&subset, SkBitmap::kARGB_8888_Config); } SkAutoLockPixels alp(bitmap); uint32_t* bmpPixels = reinterpret_cast<uint32_t*>(bitmap.getPixels()); |