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

Unified Diff: chrome/browser/ui/cocoa/tabpose_window.mm

Issue 6693054: Get rid of extensions dependency from content\browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/cocoa/tabpose_window.mm
===================================================================
--- chrome/browser/ui/cocoa/tabpose_window.mm (revision 80243)
+++ chrome/browser/ui/cocoa/tabpose_window.mm (working copy)
@@ -15,6 +15,7 @@
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/browser_process.h"
#import "chrome/browser/debugger/devtools_window.h"
+#include "chrome/browser/extensions/extension_tab_helper.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/renderer_host/render_widget_host_view_mac.h"
@@ -497,8 +498,8 @@
}
SkBitmap Tile::favicon() const {
- if (contents_->is_app()) {
- SkBitmap* icon = contents_->tab_contents()->GetExtensionAppIcon();
+ if (contents_->extension_tab_helper()->is_app()) {
+ SkBitmap* icon = contents_->extension_tab_helper()->GetExtensionAppIcon();
if (icon)
return *icon;
}

Powered by Google App Engine
This is Rietveld 408576698