 Chromium Code Reviews
 Chromium Code Reviews Issue 
            567503002:
    Add toDouble() helper, and use toFloat()/toDouble() for conversions  (Closed)
    
  
    Issue 
            567503002:
    Add toDouble() helper, and use toFloat()/toDouble() for conversions  (Closed) 
  | DescriptionAdd toDouble() helper, and use toFloat()/toDouble() for conversions
Like we do for all integer types, use helper functions from V8Binding.h
to convert from v8::Value to native types. These helper functions throw
all exceptions via their ExceptionState& argument, which means we don't
need to initialize a v8::TryCatch in the caller.
The helpers initialize a v8::TryCatch if they call in to V8 to convert
a value, but they do not do this if the value is already of the correct
type.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181812
   Patch Set 1 #
      Total comments: 1
      
     Messages
    Total messages: 6 (2 generated)
     |