[Webkit-unassigned] [Bug 63688] New: Refactoring: ExceptionCode value which never become non-zero should be replaced with NeverThrown
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 30 00:02:59 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63688
Summary: Refactoring: ExceptionCode value which never become
non-zero should be replaced with NeverThrown
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: morrita at google.com
This refactoring will introduce a temporal object which replaces
our tedious pattern like this:
ExceptionCode ec = 0;
weKnowThisNeverFail(ec);
ASSERT(!ec);
We can have a helper class like this:
weKnowThisNeverFail(NeverThrown());
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list