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

Unified Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 10827193: Brushes up the code of screenshot filename. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/accelerators/accelerator_controller_unittest.cc
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
index d6e55e5c24087a56137a8c41616eaafabf647d43..467e89d44488397ced970efc8138dfd438af5593 100644
--- a/ash/accelerators/accelerator_controller_unittest.cc
+++ b/ash/accelerators/accelerator_controller_unittest.cc
@@ -70,9 +70,8 @@ class DummyScreenshotDelegate : public ScreenshotDelegate {
virtual ~DummyScreenshotDelegate() {}
// Overridden from ScreenshotDelegate:
- virtual void HandleTakeScreenshot(aura::Window* window) OVERRIDE {
- if (window != NULL)
- ++handle_take_screenshot_count_;
+ virtual void HandleTakeScreenshotForAllRootWindows() OVERRIDE {
+ ++handle_take_screenshot_count_;
}
virtual void HandleTakePartialScreenshot(

Powered by Google App Engine
This is Rietveld 408576698