summaryrefslogtreecommitdiffstats
path: root/WebKitTools/TestWebKitAPI/mac/PlatformWebViewMac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/TestWebKitAPI/mac/PlatformWebViewMac.mm')
-rw-r--r--WebKitTools/TestWebKitAPI/mac/PlatformWebViewMac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKitTools/TestWebKitAPI/mac/PlatformWebViewMac.mm b/WebKitTools/TestWebKitAPI/mac/PlatformWebViewMac.mm
index e06e2e6..d4c31eb 100644
--- a/WebKitTools/TestWebKitAPI/mac/PlatformWebViewMac.mm
+++ b/WebKitTools/TestWebKitAPI/mac/PlatformWebViewMac.mm
@@ -29,10 +29,10 @@
namespace TestWebKitAPI {
-PlatformWebView::PlatformWebView(WKPageNamespaceRef pageNamespaceRef, WKPageGroupRef pageGroupRef)
+PlatformWebView::PlatformWebView(WKPageNamespaceRef namespaceRef)
{
NSRect rect = NSMakeRect(0, 0, 800, 600);
- m_view = [[WKView alloc] initWithFrame:rect pageNamespaceRef:pageNamespaceRef pageGroupRef:pageGroupRef];
+ m_view = [[WKView alloc] initWithFrame:rect pageNamespaceRef:namespaceRef];
NSRect windowRect = NSOffsetRect(rect, -10000, [[[NSScreen screens] objectAtIndex:0] frame].size.height - rect.size.height + 10000);
m_window = [[NSWindow alloc] initWithContentRect:windowRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES];