Fix build.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Feb 2016 17:57:46 +0000 (17:57 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Feb 2016 17:57:46 +0000 (17:57 +0000)
* TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:
(-[SyntheticBackingScaleFactorWindow initWithContentRect:styleMask:backing:defer:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196982 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m

index 0e44085..c802348 100644 (file)
@@ -1,3 +1,10 @@
+2016-02-23  Anders Carlsson  <andersca@apple.com>
+
+        Fix build.
+
+        * TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:
+        (-[SyntheticBackingScaleFactorWindow initWithContentRect:styleMask:backing:defer:]):
+
 2016-02-23  Carlos Alberto Lopez Perez  <clopez@igalia.com>
 
         [GTK] Allow to run the WebKitGTK+ MiniBrowser with the run-benchmark script.
index 555cf98..83dbe2f 100644 (file)
 
 @implementation SyntheticBackingScaleFactorWindow
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wmismatched-parameter-types"
 - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation
+#pragma clang diagnostic pop
 {
     self = [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation];
     if (!self)