[webkit-reviews] review requested: [Bug 31168] Add [HintAtomic] to IDLs to remove unnecessary string conversions in generated V8 DOM bindings : [Attachment 42907] patch 2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 10 16:32:17 PST 2009


Jens Alfke <snej at chromium.org> has asked  for review:
Bug 31168: Add [HintAtomic] to IDLs to remove unnecessary string conversions in
generated V8 DOM bindings
https://bugs.webkit.org/show_bug.cgi?id=31168

Attachment 42907: patch 2
https://bugs.webkit.org/attachment.cgi?id=42907&action=review

------- Additional Comments from Jens Alfke <snej at chromium.org>
I've implemented what I described the other day:
- AtomicString.h adds the 'explicit' keyword to the AtomicString(String)
constructor, if NO_IMPLICIT_ATOMICSTRINGS is defined.
- DerivedSourcesAllInOne.cpp now #defines NO_IMPLICIT_ATOMICSTRINGS before
#Including any headers.
The result is that missing any [HintAtomic] annotations in the IDL now causes a
compile error.

I also had to add explicit AtomicString constructor calls to two headers that
are included indirectly by DerivedSourcesAllInOne, to keep them from failing to
compile in this new mode.


More information about the webkit-reviews mailing list