Commit 03387985 authored by kdecker@apple.com's avatar kdecker@apple.com

Fix the Tiger build.

        
        * Plugins/WebNetscapePluginView.mm: The base class of WebNetscapePluginView.mm, WebBaseNetscapePluginView, already implemented 
        the two methods below. But the Tiger compiler didn't know that. 
        (-[WebNetscapePluginView webView]): 
        (-[WebNetscapePluginView webFrame]):



git-svn-id: svn://svn.chromium.org/blink/trunk@42898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent e96d1b08
2009-04-27 Kevin Decker <kdecker@apple.com>
Fix the Tiger build.
* Plugins/WebNetscapePluginView.mm: The base class of WebNetscapePluginView.mm, WebBaseNetscapePluginView, already implemented
the two methods below. But the Tiger compiler didn't know that.
(-[WebNetscapePluginView webView]):
(-[WebNetscapePluginView webFrame]):
2009-04-27 Kevin Decker <kdecker@apple.com> 2009-04-27 Kevin Decker <kdecker@apple.com>
Reviewed by Anders Carlsson. Reviewed by Anders Carlsson.
......
...@@ -1272,6 +1272,20 @@ static inline void getNPRect(const NSRect& nr, NPRect& npr) ...@@ -1272,6 +1272,20 @@ static inline void getNPRect(const NSRect& nr, NPRect& npr)
[self cancelCheckIfAllowedToLoadURL:[[check contextInfo] checkRequestID]]; [self cancelCheckIfAllowedToLoadURL:[[check contextInfo] checkRequestID]];
} }
#ifdef BUILDING_ON_TIGER
// The Tiger compiler requires these two methods be present. Otherwise it doesn't think WebNetscapePluginView
// conforms to the WebPluginContainerCheckController protocol.
- (WebView *)webView
{
return [super webView];
}
- (WebFrame *)webFrame
{
return [super webFrame];
}
#endif
#pragma mark NSVIEW #pragma mark NSVIEW
- (id)initWithFrame:(NSRect)frame - (id)initWithFrame:(NSRect)frame
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment