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

WebKit2 fails to build with newer versions of clang.

Reviewed by Anders Carlsson.

* Shared/VisitedLinkTable.cpp: #if a function that's only used inside an ASSERT.
* UIProcess/Plugins/mac/PluginInfoStoreMac.mm: Remove an unused constant.
* UIProcess/mac/WKFullScreenWindowController.mm: Ditto.
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: Ditto.
* WebProcess/WebPage/FindController.cpp: Ditto.
* WebProcess/WebPage/WebBackForwardListProxy.cpp: Remove two unused constants.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent aae57e37
2013-09-28 Mark Rowe <mrowe@apple.com>
WebKit2 fails to build with newer versions of clang.
Reviewed by Anders Carlsson.
* Shared/VisitedLinkTable.cpp: #if a function that's only used inside an ASSERT.
* UIProcess/Plugins/mac/PluginInfoStoreMac.mm: Remove an unused constant.
* UIProcess/mac/WKFullScreenWindowController.mm: Ditto.
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: Ditto.
* WebProcess/WebPage/FindController.cpp: Ditto.
* WebProcess/WebPage/WebBackForwardListProxy.cpp: Remove two unused constants.
2013-09-27 Csaba Osztrogonác <ossy@webkit.org>
 
CookieStorageShim should be PLATFORM(MAC) guarded
......
......@@ -42,12 +42,14 @@ VisitedLinkTable::~VisitedLinkTable()
{
}
#if !ASSERT_DISABLED
static inline bool isPowerOf2(unsigned v)
{
// Taken from http://www.cs.utk.edu/~vose/c-stuff/bithacks.html
return !(v & (v - 1)) && v;
}
#endif
void VisitedLinkTable::setSharedMemory(PassRefPtr<SharedMemory> sharedMemory)
{
......
......@@ -36,8 +36,6 @@
using namespace WebCore;
static const char* const oracleJavaAppletPluginBundleIdentifier = "com.oracle.java.JavaAppletPlugin";
namespace WebKit {
Vector<String> PluginInfoStore::pluginsDirectories()
......
......@@ -51,7 +51,6 @@ using namespace WebCore;
static RetainPtr<NSWindow> createBackgroundFullscreenWindow(NSRect frame);
static const CFTimeInterval defaultAnimationDuration = 0.5;
static const NSTimeInterval DefaultWatchdogTimerInterval = 1;
enum FullScreenState : NSInteger {
......
......@@ -43,7 +43,6 @@ namespace WebKit {
#ifndef NP_NO_CARBON
static const double nullEventIntervalActive = 0.02;
static const double nullEventIntervalNotActive = 0.25;
static unsigned buttonStateFromLastMouseEvent;
......
......@@ -387,7 +387,6 @@ void FindController::didMoveToWebPage(PageOverlay*, WebPage*)
static const float shadowOffsetX = 0.0;
static const float shadowOffsetY = 1.0;
static const float shadowBlurRadius = 2.0;
static const float whiteFrameThickness = 1.0;
static const float overlayBackgroundRed = 0.1;
static const float overlayBackgroundGreen = 0.1;
......
......@@ -41,9 +41,6 @@ using namespace WebCore;
namespace WebKit {
static const unsigned DefaultCapacity = 100;
static const unsigned NoCurrentItemIndex = UINT_MAX;
// FIXME <rdar://problem/8819268>: This leaks all HistoryItems that go into these maps.
// We need to clear up the life time of these objects.
......
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