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

Unified Diff: skia/ext/bitmap_platform_device_win.cc

Issue 6691067: Fixed a few styles issues in skia::PlatformDevice. Made function names consistent. Added Begin/En... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « skia/ext/bitmap_platform_device_win.h ('k') | skia/ext/canvas_paint_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/bitmap_platform_device_win.cc
===================================================================
--- skia/ext/bitmap_platform_device_win.cc (revision 80484)
+++ skia/ext/bitmap_platform_device_win.cc (working copy)
@@ -201,7 +201,7 @@
return *this;
}
-HDC BitmapPlatformDevice::beginPlatformPaint() {
+HDC BitmapPlatformDevice::BeginPlatformPaint() {
return data_->GetBitmapDC();
}
@@ -214,7 +214,7 @@
void BitmapPlatformDevice::drawToHDC(HDC dc, int x, int y,
const RECT* src_rect) {
bool created_dc = !data_->IsBitmapDCCreated();
- HDC source_dc = beginPlatformPaint();
+ HDC source_dc = BeginPlatformPaint();
RECT temp_rect;
if (!src_rect) {
@@ -261,7 +261,7 @@
}
LoadTransformToDC(source_dc, data_->transform());
- endPlatformPaint();
+ EndPlatformPaint();
if (created_dc)
data_->ReleaseBitmapDC();
}
« no previous file with comments | « skia/ext/bitmap_platform_device_win.h ('k') | skia/ext/canvas_paint_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698