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

Fix Qt build.

* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::handlePostReadFile):
(WebCore::PluginView::platformGetValue):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c35bb586
2010-04-30 Anders Carlsson <andersca@apple.com>
Fix Qt build.
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::handlePostReadFile):
(WebCore::PluginView::platformGetValue):
2010-04-30 Anders Carlsson <andersca@apple.com>
 
Reviewed by Timothy Hatcher.
......@@ -527,7 +527,7 @@ void PluginView::setParentVisible(bool visible)
platformPluginWidget()->setVisible(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);
......@@ -603,7 +603,7 @@ bool PluginView::platformGetValue(NPNVariable variable, void* value, NPError* re
case NPNVToolkit:
if (m_plugin->quirks().contains(PluginQuirkRequiresGtkToolKit)) {
*((uint32 *)value) = 2;
*((uint32_t *)value) = 2;
*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