Bug 114540

Summary: [Windows, WinCairo] ImageBufferCairo.cpp fails to compile after 148247, 148264.
Product: WebKit Reporter: Mark Salisbury <mark.salisbury>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Blocker CC: bfulgham, commit-queue, d-r, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Attachments:
Description Flags
Proposed fix
none
Proposed fix
none
Proposed fix
bfulgham: review+, bfulgham: commit-queue-
Proposed fix
none
Proposed fix
bfulgham: review+, commit-queue: commit-queue-
Proposed fix none

Description Mark Salisbury 2013-04-12 15:49:44 PDT
Created attachment 197897 [details]
Proposed fix

Changes were introduced in ImageBufferCairo.cpp that assume that USE(ACCELERATED_COMPOSITING) is enabled.

The windows cairo build does not have accelerated compositing enabled.

See proposed fix.
Comment 1 Mark Salisbury 2013-04-12 16:01:41 PDT
Created attachment 197901 [details]
Proposed fix

oops... I didn't put the correct bug URL in my change log.  This puts the correct bug ID in.
Comment 2 Mark Salisbury 2013-04-12 16:55:22 PDT
Created attachment 197909 [details]
Proposed fix

This patch adds the file path changed to the change log.  You could guess I didn't run the script to auto-generate the change log.
Comment 3 WebKit Commit Bot 2013-04-12 16:57:55 PDT
Attachment 197909 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp']" exit_code: 1
Source/WebCore/ChangeLog:8:  Need whitespace between colon and description  [changelog/filechangedescriptionwhitespace] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Brent Fulgham 2013-04-12 19:15:34 PDT
Comment on attachment 197909 [details]
Proposed fix

Looks good, but please fix the style issue!
Comment 5 Mark Salisbury 2013-04-12 20:00:34 PDT
Created attachment 197917 [details]
Proposed fix
Comment 6 Mark Salisbury 2013-04-12 20:24:37 PDT
Created attachment 197918 [details]
Proposed fix

oops... I tweaked the patch file by hand but didn't update the magic numbers.  This should apply now.

One of the more difficult 'trivia' fixes I've ever done...
Comment 7 WebKit Commit Bot 2013-04-12 21:51:14 PDT
Comment on attachment 197918 [details]
Proposed fix

Rejecting attachment 197918 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'validate-changelog', '--non-interactive', 197918, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

/Volumes/Data/EWS/WebKit/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Full output: http://webkit-queues.appspot.com/results/44122
Comment 8 Mark Salisbury 2013-04-13 08:11:22 PDT
Created attachment 197939 [details]
Proposed fix

I changed 'Not Reviewed' to 'Reviewed by Brent Fulgham.'

stylebots should be appeased now, I hope.
Comment 9 Brent Fulgham 2013-04-13 08:22:27 PDT
Comment on attachment 197939 [details]
Proposed fix

I should have caught that one!  r=me
Comment 10 WebKit Commit Bot 2013-04-13 09:06:33 PDT
Comment on attachment 197939 [details]
Proposed fix

Clearing flags on attachment: 197939

Committed r148357: <http://trac.webkit.org/changeset/148357>
Comment 11 WebKit Commit Bot 2013-04-13 09:06:36 PDT
All reviewed patches have been landed.  Closing bug.