Commit c08a6cbb authored by berto@igalia.com's avatar berto@igalia.com

Fix some compilation warnings

https://bugs.webkit.org/show_bug.cgi?id=126635

Reviewed by Csaba Osztrogonác.

Source/WebCore:

Remove code that is no longer being used.

* platform/graphics/cairo/GraphicsContextCairo.cpp:
* platform/graphics/texmap/GraphicsLayerTextureMapper.h:
* platform/gtk/PopupMenuGtk.cpp:
* platform/gtk/RedirectedXCompositeWindow.h:

Tools:

* GtkLauncher/main.c:
(createWindow): This function is not supposed to receive any
parameter, yet we are passing one.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c81c00e4
2014-01-08 Alberto Garcia <berto@igalia.com>
Fix some compilation warnings
https://bugs.webkit.org/show_bug.cgi?id=126635
Reviewed by Csaba Osztrogonác.
Remove code that is no longer being used.
* platform/graphics/cairo/GraphicsContextCairo.cpp:
* platform/graphics/texmap/GraphicsLayerTextureMapper.h:
* platform/gtk/PopupMenuGtk.cpp:
* platform/gtk/RedirectedXCompositeWindow.h:
2014-01-08 Zan Dobersek <zdobersek@igalia.com>
[Automake] Scripts for generated build targets do not necessarily produce their output
......@@ -1024,14 +1024,6 @@ void GraphicsContext::clipOut(const IntRect& r)
cairo_set_fill_rule(cr, savedFillRule);
}
static inline FloatPoint getPhase(const FloatRect& dest, const FloatRect& tile)
{
FloatPoint phase = dest.location();
phase.move(-tile.x(), -tile.y());
return phase;
}
void GraphicsContext::fillRoundedRect(const IntRect& r, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace)
{
if (paintingDisabled())
......
......@@ -167,7 +167,6 @@ private:
int m_changeMask;
bool m_needsDisplay;
bool m_hasOwnBackingStore;
bool m_fixedToViewport;
Color m_solidColor;
......
......@@ -37,8 +37,6 @@
namespace WebCore {
static const uint32_t gSearchTimeoutMs = 1000;
PopupMenuGtk::PopupMenuGtk(PopupMenuClient* client)
: m_popupClient(client)
{
......
......@@ -70,7 +70,6 @@ private:
GLContextNeeded m_needsContext;
OwnPtr<GLContext> m_context;
RefPtr<cairo_surface_t> m_surface;
unsigned int m_pendingResizeSourceId;
bool m_needsNewPixmapAfterResize;
Damage m_damage;
......
2014-01-08 Alberto Garcia <berto@igalia.com>
Fix some compilation warnings
https://bugs.webkit.org/show_bug.cgi?id=126635
Reviewed by Csaba Osztrogonác.
* GtkLauncher/main.c:
(createWindow): This function is not supposed to receive any
parameter, yet we are passing one.
2014-01-08 Brian Holt <brian.holt@samsung.com>
[GTK][WK2] unskip passing unit tests
......
......@@ -335,7 +335,7 @@ static GtkWidget* createWindow(WebKitWebView** outWebView)
#else
vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
#endif
statusbar = createStatusbar(webView);
statusbar = createStatusbar();
gtk_box_pack_start(GTK_BOX(vbox), createToolbar(window, uriEntry, webView), FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(vbox), createBrowser(window, uriEntry, statusbar, webView, vbox), TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(vbox), statusbar, FALSE, FALSE, 0);
......
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