Commit db7ccfd7 authored by ukai@chromium.org's avatar ukai@chromium.org
Browse files

Unreviewed build fix.

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::dumpImage): format '%u' expects type 'unsigned int', but argument 2 has type 'size_t'.
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::willSendRequest): too few arguments for format.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1923ee4b
2010-04-28 Fumitoshi Ukai <ukai@chromium.org>
Unreviewed build fix.
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::dumpImage): format '%u' expects type 'unsigned int', but argument 2 has type 'size_t'.
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::willSendRequest): too few arguments for format.
2010-04-27 Shinichiro Hamaji <hamaji@chromium.org>
 
Reviewed by Darin Adler and Eric Seidel.
......@@ -540,7 +540,7 @@ string TestShell::dumpImage(skia::PlatformCanvas* canvas, const string& expected
static_cast<int>(sourceBitmap.rowBytes()), discardTransparency, &png);
printf("Content-Type: image/png\n");
printf("Content-Length: %u\n", png.size());
printf("Content-Length: %lu\n", png.size());
// Write to disk.
if (fwrite(&png[0], 1, png.size(), stdout) != png.size())
FATAL("Short write to stdout.\n");
......
......@@ -872,7 +872,7 @@ void WebViewHost::willSendRequest(WebFrame*, unsigned identifier, WebURLRequest&
GURL mainDocumentURL = request.firstPartyForCookies();
printResourceDescription(identifier);
printf(" - willSendRequest <NSURLRequest URL %s, main document URL %s,"
" http method %s> redirectResponse %s\n",
" http method %s> redirectResponse ",
descriptionSuitableForTestResult(requestURL).c_str(),
URLDescription(mainDocumentURL).c_str(),
request.httpMethod().utf8().data());
......
Supports Markdown
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