Bug 179614

Summary: [Cairo] Move simpler draw operations from GraphicsContextCairo to CairoOperations
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

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>