[Webkit-unassigned] [Bug 27543] Add platform/wince/ files for WINCE port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 09:42:13 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27543





--- Comment #51 from Yong Li <yong.li at torchmobile.com>  2009-08-12 09:42:12 PDT ---
I like for (;;) so much personally :), but seems not allowed in webkit?

Probably I'd better change it back to goto.

Another way to avoid goto is
 if (...) {
    if (...) {
      ...
      // free resources
    }
    // free resources
 }

I also like this way, but I'm afraid that someone will say there're too many
indentations.

I also planed to create wrapper classes for HCRYPTKEY and HCRYPTPROV that
release resource automatically, but probably it's a waste for this single
usage. Sadly, OwnPtr<> doesn't work in this case because HCRYPTKEY and
HCRYPTPROV are just "void*".

I considered a lot about this.

I'm going to use goto, which makes everyone understand

-- 
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