Mac: Fix 64-bit compile errors.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1364 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-08-14 22:15:28 +00:00
parent 2f1c313fd0
commit 0a452addf0
2 changed files with 19 additions and 0 deletions

View File

@ -41,6 +41,12 @@ patches = [
'name': 'webkit_popups', 'name': 'webkit_popups',
'path': '../third_party/WebKit/', 'path': '../third_party/WebKit/',
}, },
{
# Fix export of UnderlayOpenGLHostingWindow for 64-bit OS X builds.
# http://code.google.com/p/chromiumembedded/issues/detail?id=1051
'name': 'underlay_1051',
'path': '../ui/base/cocoa/',
},
{ {
# http://code.google.com/p/chromiumembedded/issues/detail?id=364 # http://code.google.com/p/chromiumembedded/issues/detail?id=364
'name': 'spi_webcore_364', 'name': 'spi_webcore_364',

View File

@ -0,0 +1,13 @@
Index: underlay_opengl_hosting_window.h
===================================================================
--- underlay_opengl_hosting_window.h (revision 214871)
+++ underlay_opengl_hosting_window.h (working copy)
@@ -12,7 +12,7 @@
// Common base class for windows that host a OpenGL surface that renders under
// the window. Contains methods relating to hole punching so that the OpenGL
// surface is visible through the window.
-UI_EXPORT
+__attribute__((visibility("default")))
@interface UnderlayOpenGLHostingWindow : NSWindow
@end