diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 08:15:01 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 08:15:01 +0000 |
commit | a4908b3f8384df4b6cbe0dc993efbd605395de9d (patch) | |
tree | dbc7dad78e47a1a8df2372680a34af79352cdac5 /chrome | |
parent | 57c6a6579cf274fe37d6196931a3034d90da7113 (diff) | |
download | chromium_src-a4908b3f8384df4b6cbe0dc993efbd605395de9d.zip chromium_src-a4908b3f8384df4b6cbe0dc993efbd605395de9d.tar.gz chromium_src-a4908b3f8384df4b6cbe0dc993efbd605395de9d.tar.bz2 |
Fix the mac build from my WebContents rename.
Review URL: http://codereview.chromium.org/100329
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15195 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/automation/automation_provider.cc | 1 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_view_mac.mm | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index 79e384e..67dc491 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -2618,7 +2618,6 @@ TabContents* AutomationProvider::GetTabContentsForHandle( int handle, NavigationController** tab) { if (tab_tracker_->ContainsHandle(handle)) { NavigationController* nav_controller = tab_tracker_->GetResource(handle); - TabContents* tab_contents = nav_controller->tab_contents(); if (tab) *tab = nav_controller; return nav_controller->tab_contents(); diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.mm b/chrome/browser/tab_contents/tab_contents_view_mac.mm index 97cbf68..adc9e22 100644 --- a/chrome/browser/tab_contents/tab_contents_view_mac.mm +++ b/chrome/browser/tab_contents/tab_contents_view_mac.mm @@ -182,14 +182,14 @@ void TabContentsViewMac::Observe(NotificationType type, const NotificationSource& source, const NotificationDetails& details) { switch (type.value) { - case NotificationType::tab_contents_CONNECTED: { + case NotificationType::TAB_CONTENTS_CONNECTED: { if (sad_tab_.get()) { [sad_tab_.get() removeFromSuperview]; sad_tab_.reset(); } break; } - case NotificationType::tab_contents_DISCONNECTED: { + case NotificationType::TAB_CONTENTS_DISCONNECTED: { SadTabView* view = [[SadTabView alloc] initWithFrame:NSZeroRect]; sad_tab_.reset(view); |