Bug 47588

Summary: [GTK] Small cleanup in PluginViewGtk
Product: WebKit Reporter: Xan Lopez <xan.lopez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, mrobinson, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
cleanup.diff none

Description Xan Lopez 2010-10-13 06:37:53 PDT
SSIA.
Comment 1 Xan Lopez 2010-10-13 06:40:02 PDT
Created attachment 70605 [details]
cleanup.diff
Comment 2 Martin Robinson 2010-10-13 19:01:59 PDT
How did this code originate? Is it important to preserve the assertion?
Comment 3 Xan Lopez 2010-10-13 23:53:02 PDT
(In reply to comment #2)
> How did this code originate? Is it important to preserve the assertion?

The actualDepth was used before to see if we have an alpha channel, but in the current code we use cairo_surface_get_content for that. We can still keep the assertion (doing it differently) if you think it's important, I'm not very sure that it is.
Comment 4 Martin Robinson 2010-10-13 23:55:34 PDT
Comment on attachment 70605 [details]
cleanup.diff

Seems reasonable.
Comment 5 WebKit Commit Bot 2010-10-14 12:29:51 PDT
Comment on attachment 70605 [details]
cleanup.diff

Clearing flags on attachment: 70605

Committed r69793: <http://trac.webkit.org/changeset/69793>
Comment 6 WebKit Commit Bot 2010-10-14 12:29:56 PDT
All reviewed patches have been landed.  Closing bug.