Commit d2856317 authored by andersca@apple.com's avatar andersca@apple.com
Browse files

Fix GTK+ build.

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



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 74d4f876
2010-04-30 Anders Carlsson <andersca@apple.com>
Fix GTK+ build.
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::handlePostReadFile):
(WebCore::PluginView::platformGetValueStatic):
2010-04-30 Anders Carlsson <andersca@apple.com>
 
Fix Qt build.
......@@ -558,7 +558,7 @@ void PluginView::setParentVisible(bool visible)
}
}
NPError PluginView::handlePostReadFile(Vector<char>& buffer, uint32 len, const char* buf)
NPError PluginView::handlePostReadFile(Vector<char>& buffer, uint32_t len, const char* buf)
{
String filename(buf, len);
......@@ -592,9 +592,9 @@ bool PluginView::platformGetValueStatic(NPNVariable variable, void* value, NPErr
switch (variable) {
case NPNVToolkit:
#if defined(XP_UNIX)
*static_cast<uint32*>(value) = 2;
*static_cast<uint32_t*>(value) = 2;
#else
*static_cast<uint32*>(value) = 0;
*static_cast<uint32_t*>(value) = 0;
#endif
*result = NPERR_NO_ERROR;
return true;
......
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