Chromium Code Reviews
DescriptionMake static KURLs thread safe
KURLs aren't really thread safe, because they are generally mutable.
Additionally, unless their String members are static strings
(they aren't), then KURLs are *really* not thread safe.
This CL makes sure that blankUrl() is only used on the main thread,
and removes srcdocUrl() because it is used very infrequently.
To help DomURL which wants about blank URLs off the main thread, I
added a char kAboutBlankUrl[] for use in the KURL constructor.
BUG=689044
Patch Set 1 #Patch Set 2 : :/ #
Total comments: 2
Messages
Total messages: 19 (14 generated)
|