Make it possible to test ViewSnapshotStore behaviors
Created attachment 290745 [details] Patch
Comment on attachment 290745 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=290745&action=review > Source/WebKit2/UIProcess/mac/ViewSnapshotStore.mm:233 > +CGImageRef ViewSnapshot::asImageForTesting() I would prefer this as a "create" or "copy" function.
https://trac.webkit.org/changeset/206829
Comment on attachment 290745 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=290745&action=review >> Source/WebKit2/UIProcess/mac/ViewSnapshotStore.mm:233 >> +CGImageRef ViewSnapshot::asImageForTesting() > > I would prefer this as a "create" or "copy" function. I would have preferred if this just returned a RetainPtr.