Index: mojo/apps/js/v8_environment.cc |
=================================================================== |
--- mojo/apps/js/v8_environment.cc (revision 233919) |
+++ mojo/apps/js/v8_environment.cc (working copy) |
@@ -40,7 +40,7 @@ |
void InitializeV8() { |
v8::V8::SetArrayBufferAllocator(new ArrayBufferAllocator()); |
v8::V8::InitializeICU(); |
- v8::V8::SetFlagsFromString(kFlags, strlen(kFlags)); |
+ v8::V8::SetFlagsFromString(kFlags, static_cast<uint32_t>(strlen(kFlags))); |
viettrungluu
2013/11/08 19:02:10
I wonder if this shouldn't be using arraysize() in
jschuh
2013/11/08 19:28:12
It should, but I didn't think I could use base her
|
v8::V8::SetEntropySource(&GenerateEntropy); |
v8::V8::Initialize(); |
} |