Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index b4dc70e688d7735a0651e97f53f12b7972e3e6f8..83cb285482f5e4bf02633c40ac110f387724920e 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -262,7 +262,8 @@ TabContents::TabContents(content::BrowserContext* browser_context, |
static_cast<int>(content::kMaximumZoomFactor * 100)), |
temporary_zoom_settings_(false), |
content_restrictions_(0), |
- view_type_(content::VIEW_TYPE_TAB_CONTENTS) { |
+ view_type_(content::VIEW_TYPE_TAB_CONTENTS), |
+ has_opener_(false) { |
render_manager_.Init(browser_context, site_instance, routing_id); |
// We have the initial size of the view be based on the size of the passed in |
@@ -1348,6 +1349,10 @@ bool TabContents::GotResponseToLockMouseRequest(bool allowed) { |
GetRenderViewHostImpl()->GotResponseToLockMouseRequest(allowed) : false; |
} |
+bool TabContents::HasOpener() const { |
+ return has_opener_; |
+} |
+ |
bool TabContents::FocusLocationBarByDefault() { |
content::WebUI* web_ui = GetWebUIForCurrentState(); |
if (web_ui) |