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

Unified Diff: ash/test/test_keyboard_ui.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | ash/wm/window_state.h » ('j') | media/base/bind_to_current_loop_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_keyboard_ui.cc
diff --git a/ash/test/test_keyboard_ui.cc b/ash/test/test_keyboard_ui.cc
index 67b6993875f39aaf81b7d4f2f7d24ef20437f58c..20f9b44ca0e75f008ce15f5570168e8b8f6f88e5 100644
--- a/ash/test/test_keyboard_ui.cc
+++ b/ash/test/test_keyboard_ui.cc
@@ -17,7 +17,7 @@ TestKeyboardUI::TestKeyboardUI() {}
TestKeyboardUI::~TestKeyboardUI() {}
bool TestKeyboardUI::HasKeyboardWindow() const {
- return keyboard_;
+ return !!keyboard_;
}
bool TestKeyboardUI::ShouldWindowOverscroll(aura::Window* window) const {
« no previous file with comments | « no previous file | ash/wm/window_state.h » ('j') | media/base/bind_to_current_loop_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698