[Webkit-unassigned] [Bug 213119] Remove FileError.{h, cpp} after bug 213117
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 12 13:32:14 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213119
Chris Dumez <cdumez at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #401767|review? |review+, commit-queue-
Flags| |
--- Comment #2 from Chris Dumez <cdumez at apple.com> ---
Comment on attachment 401767
--> https://bugs.webkit.org/attachment.cgi?id=401767
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=401767&action=review
r=me with nits.
> Source/WebCore/fileapi/BlobLoader.h:60
> + Optional<ExceptionCode> m_errorCode { WTF::nullopt };
{ WTF::nullopt } is unnecessary.
> Source/WebCore/fileapi/FileReaderLoader.cpp:123
> + if (m_errorCode.hasValue()) {
.hasValue() should not be necessary.
> Source/WebCore/fileapi/FileReaderLoader.cpp:172
> + if (m_errorCode.hasValue())
ditto.
> Source/WebCore/fileapi/FileReaderLoader.cpp:232
> + if (m_errorCode.hasValue() && m_errorCode.value() == AbortError)
ditto.
> Source/WebCore/fileapi/FileReaderLoader.cpp:271
> + if (!m_rawData || m_errorCode.hasValue())
ditto.
> Source/WebCore/fileapi/FileReaderLoader.cpp:287
> + if (!m_rawData || m_errorCode.hasValue())
ditto.
> Source/WebCore/fileapi/FileReaderLoader.h:121
> + Optional<ExceptionCode> m_errorCode { WTF::nullopt };
{ WTF::nullopt } is not needed.
> Source/WebCore/fileapi/FileReaderSync.cpp:79
> + if (!error.hasValue())
.hasValue() is not needed.
> Source/WebCore/fileapi/NetworkSendQueue.cpp:89
> + if (loader->isLoading() || (errorCode.hasValue() && errorCode.value() == AbortError)) {
.hasValue() is not needed.
> Source/WebCore/fileapi/NetworkSendQueue.cpp:98
> + ASSERT(errorCode.hasValue());
.hasValue() is not needed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200612/d3fa6bd7/attachment.htm>
More information about the webkit-unassigned
mailing list