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

Unified Diff: ash/utility/screenshot_controller.cc

Issue 2051343002: Make various gfx classes more amenable to use as compile-time constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile and test fixes Created 4 years, 6 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
Index: ash/utility/screenshot_controller.cc
diff --git a/ash/utility/screenshot_controller.cc b/ash/utility/screenshot_controller.cc
index 52902ddfc726b6a1486fbfb7f66ae8b1f20fdbf8..47d6ed4a23dceb632da241fe07a6a9369dc26aa7 100644
--- a/ash/utility/screenshot_controller.cc
+++ b/ash/utility/screenshot_controller.cc
@@ -118,7 +118,6 @@ class ScreenshotController::ScreenshotLayer : public ui::LayerOwner,
const SkColor kSelectedAreaOverlayColor = 0x60000000;
// Screenshot area representation: transparent hole with half opaque gray
// overlay.
- gfx::Rect rect(region_);
ui::PaintRecorder recorder(context, layer()->size());
recorder.canvas()->FillRect(gfx::Rect(layer()->size()),

Powered by Google App Engine
This is Rietveld 408576698