Fix one more Objective-C clang error.
(Analogous to r1056). BUG=issue78 Review URL: http://webrtc-codereview.appspot.com/297004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1058 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
2687b261d5
commit
268257475b
@ -49,7 +49,7 @@ int WebRtcCreateWindow(CocoaRenderView*& cocoaRenderer, int winNum, int width, i
|
||||
// create renderer and attach to window
|
||||
NSRect cocoaRendererFrame = NSMakeRect(10, 10, width, height);
|
||||
cocoaRenderer = [[CocoaRenderView alloc] initWithFrame:cocoaRendererFrame];
|
||||
[[outWindow contentView] addSubview:cocoaRenderer];
|
||||
[[outWindow contentView] addSubview:(NSView*)cocoaRenderer];
|
||||
|
||||
[outWindow makeKeyAndOrderFront:NSApp];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user