summaryrefslogtreecommitdiffstats
path: root/skia/ext
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 00:34:11 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 00:34:11 +0000
commit0815731ac884b41853725e51e26b0697449747b4 (patch)
tree27a55633488026d5ddf3e4c960b61588e6a286e1 /skia/ext
parent8ac828c751bd8f55f40a66f8054d8a3e629be211 (diff)
downloadchromium_src-0815731ac884b41853725e51e26b0697449747b4.zip
chromium_src-0815731ac884b41853725e51e26b0697449747b4.tar.gz
chromium_src-0815731ac884b41853725e51e26b0697449747b4.tar.bz2
Fix a bunch of lint complaints in preparation to land issue 19046. Mostly formatting changes, i.e. CRLF, space at end of line.
Review URL: http://codereview.chromium.org/19486 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext')
-rwxr-xr-xskia/ext/platform_canvas_mac.cc3
-rwxr-xr-xskia/ext/platform_canvas_mac.h4
-rw-r--r--skia/ext/platform_canvas_win.cc2
-rw-r--r--skia/ext/platform_canvas_win.h4
4 files changed, 6 insertions, 7 deletions
diff --git a/skia/ext/platform_canvas_mac.cc b/skia/ext/platform_canvas_mac.cc
index 6d08454..4acbaa6 100755
--- a/skia/ext/platform_canvas_mac.cc
+++ b/skia/ext/platform_canvas_mac.cc
@@ -36,7 +36,7 @@ bool PlatformCanvasMac::initialize(int width,
return false;
setDevice(device);
- device->unref(); // was created with refcount 1, and setDevice also refs
+ device->unref(); // was created with refcount 1, and setDevice also refs
return true;
}
@@ -77,4 +77,3 @@ SkDevice* PlatformCanvasMac::setBitmapDevice(const SkBitmap&) {
}
} // namespace skia
-
diff --git a/skia/ext/platform_canvas_mac.h b/skia/ext/platform_canvas_mac.h
index adcdb86..4f7f524 100755
--- a/skia/ext/platform_canvas_mac.h
+++ b/skia/ext/platform_canvas_mac.h
@@ -23,7 +23,8 @@ class PlatformCanvasMac : public SkCanvas {
// If you use the version with no arguments, you MUST call initialize()
PlatformCanvasMac();
PlatformCanvasMac(int width, int height, bool is_opaque);
- PlatformCanvasMac(int width, int height, bool is_opaque, CGContextRef context);
+ PlatformCanvasMac(int width, int height, bool is_opaque,
+ CGContextRef context);
virtual ~PlatformCanvasMac();
// For two-part init, call if you use the no-argument constructor above
@@ -85,4 +86,3 @@ class PlatformCanvasMac : public SkCanvas {
} // namespace skia
#endif // SKIA_EXT_PLATFORM_CANVAS_MAC_H_
-
diff --git a/skia/ext/platform_canvas_win.cc b/skia/ext/platform_canvas_win.cc
index edb425e..ed0d6d7 100644
--- a/skia/ext/platform_canvas_win.cc
+++ b/skia/ext/platform_canvas_win.cc
@@ -75,7 +75,7 @@ bool PlatformCanvasWin::initialize(int width,
return false;
setDevice(device);
- device->unref(); // was created with refcount 1, and setDevice also refs
+ device->unref(); // was created with refcount 1, and setDevice also refs
return true;
}
diff --git a/skia/ext/platform_canvas_win.h b/skia/ext/platform_canvas_win.h
index e0e6e70..88f9cea 100644
--- a/skia/ext/platform_canvas_win.h
+++ b/skia/ext/platform_canvas_win.h
@@ -99,7 +99,8 @@ class PlatformCanvasWin : public SkCanvas {
template <class T>
class CanvasPaintT : public T {
public:
- CanvasPaintT(HWND hwnd) : hwnd_(hwnd), paint_dc_(NULL), for_paint_(true) {
+ explicit CanvasPaintT(HWND hwnd) : hwnd_(hwnd), paint_dc_(NULL),
+ for_paint_(true) {
memset(&ps_, 0, sizeof(ps_));
initPaint(true);
}
@@ -198,4 +199,3 @@ typedef CanvasPaintT<PlatformCanvasWin> PlatformCanvasWinPaint;
} // namespace skia
#endif // SKIA_EXT_PLATFORM_CANVAS_WIN_H_
-