Need a bundle SPI to generate a snapshot of a specific DOM node
Created attachment 193693 [details] Patch
Comment on attachment 193693 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193693&action=review > Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMNodePrivate.h:32 > -- (WKBundleNodeHandleRef)_copyWKBundleNodeHandleRef; > +- (WKBundleNodeHandleRef)_copyBundleNodeHandleRef; Is nobody going to mind this? > Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:132 > + OwnPtr<WebCore::GraphicsContext> graphicsContext = snapshot->bitmap()->createGraphicsContext(); Drop the WebCore::, I think.
(In reply to comment #2) > (From update of attachment 193693 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=193693&action=review > > > Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMNodePrivate.h:32 > > -- (WKBundleNodeHandleRef)_copyWKBundleNodeHandleRef; > > +- (WKBundleNodeHandleRef)_copyBundleNodeHandleRef; > > Is nobody going to mind this? It was mismatched from the implementation :(. > > > Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:132 > > + OwnPtr<WebCore::GraphicsContext> graphicsContext = snapshot->bitmap()->createGraphicsContext(); > > Drop the WebCore::, I think. K.
Committed r146154: <http://trac.webkit.org/changeset/146154>