ltilve / chromium

Chromium.org open source browser project, git cloned from http://git.chromium.org/chromium/src.git
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[Mac] Build problems after changing perTab to perWindow #37

Open ltilve opened 9 years ago

ltilve commented 9 years ago

There are build issues after the last changes applied at https://github.com/ltilve/chromium/commit/5b4e5873ee446f654731e63b0df405b74d88d860 to port at the cocoa part the perWindow approach.

ltilve commented 9 years ago

../../chrome/browser/ui/cocoa/browser_windowcocoa.mm:830:18: error: instance method '-updateSidebarForTabContents:' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] [controller updateSidebarForTabContents:tab_contents]; ^~~~~~~

It seems that we need some change as: +++ b/chrome/browser/ui/cocoa/browser_windowcocoa.mm @@ -315,7 +315,7 @@ void BrowserWindowCocoa::BookmarkBarStateChanged( void BrowserWindowCocoa::UpdateDevTools() { [controller updateDevToolsForContents: browser_->tab_strip_model()->GetActiveWebContents()];

or at some other points using [controller_ updateSidebarForContents:tab_contents];

ryumiel commented 9 years ago

Build was fixed at 05463409cb79b88133c7ee6d74bd833fc55abffc However, we need to change sidebar_controller not to rely on TabContentsController