Commit 71c9e4d0 authored by mrowe@apple.com's avatar mrowe@apple.com
Browse files

WebKit fails to build with newer versions of clang.

Reviewed by Sam Weinig.

* Carbon/HIWebView.mm: Remove an unused function.
* History/BinaryPropertyList.cpp: #if a constant that's only used in 64-bit.
* Misc/WebIconDatabase.mm: Remove two unused constants.
* Plugins/WebBaseNetscapePluginView.mm: Remove an unused constant.
* WebCoreSupport/WebEditorClient.mm: Ditto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f81ab24c
......@@ -191,14 +191,6 @@ static OSStatus WindowHandler( EventHandlerCallRef inCallRef, EventRef inEvent
static void StartUpdateObserver( HIWebView* view );
static void StopUpdateObserver( HIWebView* view );
static inline void HIRectToQDRect( const HIRect* inRect, Rect* outRect )
{
outRect->top = (SInt16)CGRectGetMinY( *inRect );
outRect->left = (SInt16)CGRectGetMinX( *inRect );
outRect->bottom = (SInt16)CGRectGetMaxY( *inRect );
outRect->right = (SInt16)CGRectGetMaxX( *inRect );
}
//----------------------------------------------------------------------------------
// HIWebViewCreate
//----------------------------------------------------------------------------------
......
2013-09-28 Mark Rowe <mrowe@apple.com>
WebKit fails to build with newer versions of clang.
Reviewed by Sam Weinig.
* Carbon/HIWebView.mm: Remove an unused function.
* History/BinaryPropertyList.cpp: #if a constant that's only used in 64-bit.
* Misc/WebIconDatabase.mm: Remove two unused constants.
* Plugins/WebBaseNetscapePluginView.mm: Remove an unused constant.
* WebCoreSupport/WebEditorClient.mm: Ditto.
2013-09-27 Enrica Casucci <enrica@apple.com>
Upstream changes to Pasteboard implementation for iOS.
......
......@@ -37,7 +37,10 @@ static const UInt8 booleanTrueMarkerByte = 0x09;
static const UInt8 oneByteIntegerMarkerByte = 0x10;
static const UInt8 twoByteIntegerMarkerByte = 0x11;
static const UInt8 fourByteIntegerMarkerByte = 0x12;
#ifdef __LP64__
static const UInt8 eightByteIntegerMarkerByte = 0x13;
#endif
static const UInt8 asciiStringMarkerByte = 0x50;
static const UInt8 asciiStringWithSeparateLengthMarkerByte = 0x5F;
static const UInt8 unicodeStringMarkerByte = 0x60;
......
......@@ -48,9 +48,6 @@
using namespace WebCore;
NSString * const WebIconDatabaseVersionKey = @"WebIconDatabaseVersion";
NSString * const WebURLToIconURLKey = @"WebSiteURLToIconURLKey";
NSString *WebIconDatabaseDidAddIconNotification = @"WebIconDatabaseDidAddIconNotification";
NSString *WebIconNotificationUserInfoURLKey = @"WebIconNotificationUserInfoURLKey";
NSString *WebIconDatabaseDidRemoveAllIconsNotification = @"WebIconDatabaseDidRemoveAllIconsNotification";
......
......@@ -67,8 +67,6 @@
#define LoginWindowDidSwitchFromUserNotification @"WebLoginWindowDidSwitchFromUserNotification"
#define LoginWindowDidSwitchToUserNotification @"WebLoginWindowDidSwitchToUserNotification"
static const NSTimeInterval ClearSubstituteImageDelay = 0.5;
using namespace WebCore;
@implementation WebBaseNetscapePluginView
......
......@@ -91,9 +91,6 @@ static WebViewInsertAction kit(EditorInsertAction coreAction)
return static_cast<WebViewInsertAction>(coreAction);
}
static const int InvalidCorrectionPanelTag = 0;
@interface WebUndoStep : NSObject
{
RefPtr<UndoStep> m_step;
......
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