DescriptionClarify Value::Get*()'s interface to reflect the current implementation.
The fact that each Get methods can be used with a NULL out-value simply to check that a value exists (and has the desired type) under a given key is used all over chrome, but isn't actually documented so this simply makes it official by documenting and testing this fact.
Also document the fact that GetDouble will succeed for TYPE_INTEGER as well as TYPE_DOUBLE (which was a surprise to me when I wrote the tests for this CL).
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255834
Patch Set 1 #
Messages
Total messages: 11 (0 generated)
|