Bug 179614 - [Cairo] Move simpler draw operations from GraphicsContextCairo to CairoOperations
Summary: [Cairo] Move simpler draw operations from GraphicsContextCairo to CairoOperat...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zan Dobersek
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-11-13 08:53 PST by Zan Dobersek
Modified: 2017-11-15 09:34 PST (History)
3 users (show)

See Also:


Attachments
Patch (11.47 KB, patch)
2017-11-13 09:00 PST, Zan Dobersek
no flags Details | Formatted Diff | Diff
Patch for landing (11.35 KB, patch)
2017-11-14 00:47 PST, Zan Dobersek
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zan Dobersek 2017-11-13 08:53:48 PST
[Cairo] Move simpler draw operations from GraphicsContextCairo to CairoOperations
Comment 1 Zan Dobersek 2017-11-13 09:00:01 PST
Created attachment 326763 [details]
Patch
Comment 2 Carlos Garcia Campos 2017-11-14 00:08:26 PST
Comment on attachment 326763 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=326763&action=review

> Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:541
> +    RefPtr<cairo_surface_t> surface = image.nativeImageForCurrentFrame();
> +    if (surface)

if (auto surface = image.nativeImageForCurrentFrame())
Comment 3 Zan Dobersek 2017-11-14 00:47:41 PST
Created attachment 326867 [details]
Patch for landing
Comment 4 Zan Dobersek 2017-11-14 00:50:15 PST
Comment on attachment 326867 [details]
Patch for landing

Clearing flags on attachment: 326867

Committed r224808: <https://trac.webkit.org/changeset/224808>
Comment 5 Zan Dobersek 2017-11-14 00:50:19 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2017-11-15 09:34:31 PST
<rdar://problem/35561987>