summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 08:15:01 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 08:15:01 +0000
commita4908b3f8384df4b6cbe0dc993efbd605395de9d (patch)
treedbc7dad78e47a1a8df2372680a34af79352cdac5 /chrome
parent57c6a6579cf274fe37d6196931a3034d90da7113 (diff)
downloadchromium_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.cc1
-rw-r--r--chrome/browser/tab_contents/tab_contents_view_mac.mm4
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);