Index: chrome/browser/ui/omnibox/omnibox_navigation_observer.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_navigation_observer.cc b/chrome/browser/ui/omnibox/omnibox_navigation_observer.cc |
index 51a19b79cafeb0e157e92f9d981397cb276b1c76..040dbdefa2cfcd57bace95ae91c9f25a2bc92c59 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_navigation_observer.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_navigation_observer.cc |
@@ -77,7 +77,7 @@ OmniboxNavigationObserver::~OmniboxNavigationObserver() { |
} |
void OmniboxNavigationObserver::OnSuccessfulNavigation() { |
- if (shortcuts_backend_) |
+ if (shortcuts_backend_.get()) |
shortcuts_backend_->AddOrUpdateShortcut(text_, match_); |
} |