Commit aa9e023d authored by philn@webkit.org's avatar philn@webkit.org

2010-02-01 Philippe Normand <pnormand@igalia.com>

        Rubber stamped by Xan Lopez.

        Fixed compilation warning about unsigned vs signed comparison.

        * plugins/gtk/PluginViewGtk.cpp:
        (WebCore::PluginView::paint):

git-svn-id: svn://svn.chromium.org/blink/trunk@54127 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 6ad3f1e3
2010-02-01 Philippe Normand <pnormand@igalia.com>
Rubber stamped by Xan Lopez.
Fixed compilation warning about unsigned vs signed comparison.
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::paint):
2010-01-31 Kent Tamura <tkent@chromium.org> 2010-01-31 Kent Tamura <tkent@chromium.org>
Unreviewed. Revert r54112 and r54124 because of Windows build error. Unreviewed. Revert r54112 and r54124 because of Windows build error.
......
...@@ -215,7 +215,7 @@ void PluginView::paint(GraphicsContext* context, const IntRect& rect) ...@@ -215,7 +215,7 @@ void PluginView::paint(GraphicsContext* context, const IntRect& rect)
XGetGeometry(GDK_DISPLAY(), m_drawable, &dummyW, &dummyI, &dummyI, XGetGeometry(GDK_DISPLAY(), m_drawable, &dummyW, &dummyI, &dummyI,
&dummyUI, &dummyUI, &dummyUI, &actualDepth); &dummyUI, &dummyUI, &dummyUI, &actualDepth);
const int drawableDepth = ((NPSetWindowCallbackStruct*)m_npWindow.ws_info)->depth; const unsigned int drawableDepth = ((NPSetWindowCallbackStruct*)m_npWindow.ws_info)->depth;
ASSERT(drawableDepth == actualDepth); ASSERT(drawableDepth == actualDepth);
cairo_surface_t* drawableSurface = cairo_xlib_surface_create(GDK_DISPLAY(), cairo_surface_t* drawableSurface = cairo_xlib_surface_create(GDK_DISPLAY(),
......
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