Bug 37979

Summary: [chromium] fix ImageDiff compile on windows
Product: WebKit Reporter: Tony Chang <tony>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
none
Patch none

Tony Chang
Reported 2010-04-22 00:36:17 PDT
[chromium] fix ImageDiff compile on windows
Attachments
Patch (1.06 KB, patch)
2010-04-22 00:36 PDT, Tony Chang
no flags
Patch (1.05 KB, patch)
2010-04-22 01:00 PDT, Tony Chang
no flags
Tony Chang
Comment 1 2010-04-22 00:36:41 PDT
Kent Tamura
Comment 2 2010-04-22 00:55:05 PDT
Comment on attachment 54035 [details] Patch This is a build fix. So I think we may commit it without review. > --- a/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp > +++ b/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp > @@ -39,12 +39,15 @@ > #include "gfx/codec/png_codec.h" > #include <algorithm> > #include <stdio.h> > -#include <string.h> > -#include <string> > #include <vector> strcmp() is used. We had better not remove string.h.
Tony Chang
Comment 3 2010-04-22 01:00:00 PDT
Tony Chang
Comment 4 2010-04-22 01:03:25 PDT
(In reply to comment #2) > (From update of attachment 54035 [details]) > > --- a/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp > > +++ b/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp > > @@ -39,12 +39,15 @@ > > #include "gfx/codec/png_codec.h" > > #include <algorithm> > > #include <stdio.h> > > -#include <string.h> > > -#include <string> > > #include <vector> > > strcmp() is used. We had better not remove string.h. Good catch. Attempting to land the revised patch now.
Tony Chang
Comment 5 2010-04-22 01:04:02 PDT
Note You need to log in before you can comment on or make changes to this bug.