Commit e935b95a authored by rniwa@webkit.org's avatar rniwa@webkit.org
Browse files

GTK build fix after r94142.

* WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::setAutofilled):
(DumpRenderTreeSupportGtk::setValueForUser):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7149e518
2011-08-30 Ryosuke Niwa <rniwa@webkit.org>
GTK build fix after r94142.
* WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::setAutofilled):
(DumpRenderTreeSupportGtk::setValueForUser):
2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
 
The unused ScrollView* argument can and should be removed from
......
......@@ -759,7 +759,7 @@ void DumpRenderTreeSupportGtk::setAutofilled(JSContextRef context, JSValueRef no
if (!element || !element->hasTagName(HTMLNames::inputTag))
return;
toHTMLInputElement(inputElement)->setAutofilled(autofilled);
toHTMLInputElement(element)->setAutofilled(autofilled);
}
void DumpRenderTreeSupportGtk::setValueForUser(JSContextRef context, JSValueRef nodeObject, JSStringRef value)
......@@ -772,7 +772,7 @@ void DumpRenderTreeSupportGtk::setValueForUser(JSContextRef context, JSValueRef
size_t bufferSize = JSStringGetMaximumUTF8CStringSize(value);
GOwnPtr<gchar> valueBuffer(static_cast<gchar*>(g_malloc(bufferSize)));
JSStringGetUTF8CString(value, valueBuffer.get(), bufferSize);
toHTMLInputElement(inputElement)->setValueForUser(String::fromUTF8(valueBuffer.get()));
toHTMLInputElement(element)->setValueForUser(String::fromUTF8(valueBuffer.get()));
}
void DumpRenderTreeSupportGtk::rectangleForSelection(WebKitWebFrame* frame, cairo_rectangle_int_t* rectangle)
......
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