ui/gfx: Fix the following warnings found by cpplint.
With the following command line:
$ cpplint.py ui/gfx/* 2>&1 | grep "should be"
ui/gfx/canvas.h:185: Extra space before last semicolon. If this should be an empty statement, use { } instead. [whitespace/semicolon] [5]
ui/gfx/canvas_paint_win.cc:17: Single-argument constructors should be marked explicit. [runtime/explicit] [5]
ui/gfx/color_analysis_unittest.cc:90: Single-argument constructors should be marked explicit. [runtime/explicit] [5]
ui/gfx/interpolated_transform.h:266: #endif line should be "#endif // UI_GFX_INTERPOLATED_TRANSFORM_H_" [build/header_guard] [5]
ui/gfx/interpolated_transform.h:198: Single-argument constructors should be marked explicit. [runtime/explicit] [5]
ui/gfx/point3.h:21: Single-argument constructors should be marked explicit. [runtime/explicit] [5]
ui/gfx/point_conversions.h:21: #endif line should be "#endif // UI_GFX_POINT_CONVERSIONS_H_" [build/header_guard] [5]
ui/gfx/scoped_cg_context_save_gstate_mac.h:30: #endif line should be "#endif // UI_GFX_SCOPED_CG_CONTEXT_SAVE_GSTATE_MAC_H_" [build/header_guard] [5]
ui/gfx/scoped_sk_region.h:45: #endif line should be "#endif // UI_GFX_SCOPED_SK_REGION_H_" [build/header_guard] [5]
ui/gfx/size_conversions.h:24: #endif line should be "#endif // UI_GFX_SIZE_CONVERSIONS_H_" [build/header_guard] [5]
[email protected]
TEST=ui_unittest
Review URL: https://codereview.chromium.org/11264016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164077 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 16d7ae5..4660407c 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -182,7 +182,7 @@
// Restores the drawing state after a call to Save*(). It is an error to
// call Restore() more times than Save*().
- void Restore() ;
+ void Restore();
// Adds |rect| to the current clip. Returns true if the resulting clip is
// non-empty.