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

Unified Diff: chrome/browser/ui/extensions/extension_installed_bubble.h

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
Index: chrome/browser/ui/extensions/extension_installed_bubble.h
diff --git a/chrome/browser/ui/extensions/extension_installed_bubble.h b/chrome/browser/ui/extensions/extension_installed_bubble.h
index 780a723d8fdfc4f18beb277b5ba5000af80b6da9..e7f0305f975c5567dc71bbfea37d21e176393dcb 100644
--- a/chrome/browser/ui/extensions/extension_installed_bubble.h
+++ b/chrome/browser/ui/extensions/extension_installed_bubble.h
@@ -74,7 +74,7 @@ class ExtensionInstalledBubble : public BubbleDelegate {
const Browser* browser() const { return browser_; }
const SkBitmap& icon() const { return icon_; }
BubbleType type() const { return type_; }
- bool has_command_keybinding() const { return action_command_; }
+ bool has_command_keybinding() const { return !!action_command_; }
int options() const { return options_; }
AnchorPosition anchor_position() const { return anchor_position_; }

Powered by Google App Engine
This is Rietveld 408576698