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

Unified Diff: ui/wm/core/image_grid.h

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 years, 3 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 | « ui/views/window/dialog_client_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/image_grid.h
diff --git a/ui/wm/core/image_grid.h b/ui/wm/core/image_grid.h
index 3bd46baacbab6bc97d5d1a3d6821c371ede8b439..0a300d8ef5a5235b892a62a137fd2ccbb3046a43 100644
--- a/ui/wm/core/image_grid.h
+++ b/ui/wm/core/image_grid.h
@@ -6,7 +6,6 @@
#define UI_WM_CORE_IMAGE_GRID_H_
#include "base/basictypes.h"
-#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_delegate.h"
@@ -62,7 +61,7 @@ class WM_EXPORT ImageGrid {
// Helper class for use by tests.
class WM_EXPORT TestAPI {
public:
- TestAPI(ImageGrid* grid) : grid_(grid) {}
+ explicit TestAPI(ImageGrid* grid) : grid_(grid) {}
gfx::Rect top_left_clip_rect() const {
return grid_->top_left_painter_->clip_rect_;
@@ -129,7 +128,7 @@ class WM_EXPORT ImageGrid {
// Delegate responsible for painting a specific image on a layer.
class ImagePainter : public ui::LayerDelegate {
public:
- ImagePainter(const gfx::ImageSkia& image) : image_(image) {}
+ explicit ImagePainter(const gfx::ImageSkia& image) : image_(image) {}
~ImagePainter() override {}
// Clips |layer| to |clip_rect|. Triggers a repaint if the clipping
« no previous file with comments | « ui/views/window/dialog_client_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698