| Index: chrome/browser/ui/views/bookmark_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmark_bar_view.cc
|
| index 1555584ad9f0dfdce6852418c1ca7b0e4c64ecd0..25fe870c48b72a7ed97c6b33ce3f966a75438d5b 100644
|
| --- a/chrome/browser/ui/views/bookmark_bar_view.cc
|
| +++ b/chrome/browser/ui/views/bookmark_bar_view.cc
|
| @@ -232,10 +232,8 @@ class OverFlowButton : public views::MenuButton {
|
| };
|
|
|
| void RecordAppLaunch(Profile* profile, GURL url) {
|
| - // TODO: the ExtensionService should never be NULL, but in some cases it is,
|
| - // see bug 73768. After it is resolved, the explicit test can go away.
|
| - ExtensionService* service = profile->GetExtensionService();
|
| - if (!service || !service->IsInstalledApp(url))
|
| + DCHECK(profile->GetExtensionService());
|
| + if (!profile->GetExtensionService()->IsInstalledApp(url))
|
| return;
|
|
|
| UMA_HISTOGRAM_ENUMERATION(extension_misc::kAppLaunchHistogram,
|
|
|