SetTimeStamp takes a base::TimeTicks
This commit is contained in:
parent
9c15c97468
commit
3b7657361d
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ bool Converter<blink::WebInputEvent>::FromV8(v8::Isolate* isolate,
|
|||
std::vector<blink::WebInputEvent::Modifiers> modifiers;
|
||||
if (dict.Get("modifiers", &modifiers))
|
||||
out->SetModifiers(VectorToBitArray(modifiers));
|
||||
out->SetTimeStampSeconds(base::Time::Now().ToDoubleT());
|
||||
out->SetTimeStamp(base::TimeTicks::Now());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue