summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 21:51:40 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 21:51:40 +0000
commit9441db29eee516da2f6409c7b31d056b726078ed (patch)
tree8ff65577c97d1c23c3025c838045e3b3de72b5fd
parent75ed7c2b033fcbcd8f31690c8cd8a722f26206c7 (diff)
downloadchromium_src-9441db29eee516da2f6409c7b31d056b726078ed.zip
chromium_src-9441db29eee516da2f6409c7b31d056b726078ed.tar.gz
chromium_src-9441db29eee516da2f6409c7b31d056b726078ed.tar.bz2
Fix crasher due to improperly initializing variables.
Review URL: http://codereview.chromium.org/45060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12497 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/tab_contents/web_contents_view_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/web_contents_view_mac.mm b/chrome/browser/tab_contents/web_contents_view_mac.mm
index 705192b..5d92b03 100644
--- a/chrome/browser/tab_contents/web_contents_view_mac.mm
+++ b/chrome/browser/tab_contents/web_contents_view_mac.mm
@@ -24,7 +24,7 @@ WebContentsView* WebContentsView::Create(WebContents* web_contents) {
}
WebContentsViewMac::WebContentsViewMac(WebContents* web_contents)
- : WebContentsView(web_contents_) {
+ : WebContentsView(web_contents) {
registrar_.Add(this, NotificationType::WEB_CONTENTS_CONNECTED,
Source<WebContents>(web_contents));
registrar_.Add(this, NotificationType::WEB_CONTENTS_DISCONNECTED,