Bug 295407
| Summary: | [WPE] Fix non-unified build after main@1f8ecb5d | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sergio Villar Senin
This is the error
projects/WebKit/Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp: In member function ‘void WebKit::WebPasteboardProxy::readText(IPC::Connection&, const WTF::String&, const WTF::String&, WTF::CompletionHandler<void(WTF::String&&)>&&)’:
projects/WebKit/Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp:80:9: error: ‘GUniquePtr’ was not declared in this scope
80 | GUniquePtr<char> text(wpe_clipboard_read_text(clipboard, pasteboardType.utf8().data(), &textLength));
| ^~~~~~~~~~
projects/WebKit/Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp:80:20: error: expected primary-expression before ‘char’
80 | GUniquePtr<char> text(wpe_clipboard_read_text(clipboard, pasteboardType.utf8().data(), &textLength));
| ^~~~
projects/WebKit/Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp:81:59: error: ‘text’ was not declared in this scope
81 | completionHandler(String::fromUTF8(unsafeMakeSpan(text.get(), textLength)));
| ^~~~
projects/WebKit/Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp:78:15: error: unused variable ‘clipboard’ [-Werror=unused-variable]
78 | auto* clipboard = wpe_display_get_clipboard(wpe_display_get_primary());
| ^~~~~~~~~
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
EWS
Committed 296979@main (f736754c4f90): <https://commits.webkit.org/296979@main>
Reviewed commits have been landed. Closing PR #47554 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/154967860>