ifdef out a bunch of Mac-specific code

This is a hacky solution but helps us deal with other compiler/linker errors.
This commit is contained in:
Adam Roben 2013-05-21 11:39:25 -04:00
parent 12773cff6e
commit 12d01e4fd5
4 changed files with 6 additions and 2 deletions

View file

@ -41,7 +41,9 @@ InspectableWebContentsImpl::InspectableWebContentsImpl(content::WebContents* web
auto context = static_cast<BrowserContext*>(web_contents_->GetBrowserContext());
dock_side_ = context->prefs()->GetString(kDockSidePref);
#if defined(OS_MACOSX)
view_.reset(CreateInspectableContentsView(this));
#endif
}
InspectableWebContentsImpl::~InspectableWebContentsImpl() {