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

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

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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
« cc/trees/property_tree.h ('K') | « ui/wm/core/image_grid.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.cc
diff --git a/ui/wm/core/image_grid.cc b/ui/wm/core/image_grid.cc
index 553e442d50bcbd87d9f51b331f663f23911e4364..c557a19a388dafd6984a1f5aaf0c95c786629167 100644
--- a/ui/wm/core/image_grid.cc
+++ b/ui/wm/core/image_grid.cc
@@ -259,6 +259,9 @@ void ImageGrid::SetContentBounds(const gfx::Rect& content_bounds) {
layer_->bounds().height()));
}
+ImageGrid::ImagePainter::ImagePainter(const gfx::ImageSkia& image)
+ : image_(image) {}
+
void ImageGrid::ImagePainter::SetClipRect(const gfx::Rect& clip_rect,
ui::Layer* layer) {
if (clip_rect != clip_rect_) {
« cc/trees/property_tree.h ('K') | « ui/wm/core/image_grid.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698