Remove obsolete WebVector::IsEmpty().
https://chromium-review.googlesource.com/c/chromium/src/+/1482145
This commit is contained in:
parent
bfe876afcd
commit
457abecad6
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class ScriptExecutionCallback : public blink::WebScriptExecutionCallback {
|
||||||
|
|
||||||
void Completed(
|
void Completed(
|
||||||
const blink::WebVector<v8::Local<v8::Value>>& result) override {
|
const blink::WebVector<v8::Local<v8::Value>>& result) override {
|
||||||
if (!callback_.is_null() && !result.IsEmpty() && !result[0].IsEmpty())
|
if (!callback_.is_null() && !result.empty() && !result[0].IsEmpty())
|
||||||
// Right now only single results per frame is supported.
|
// Right now only single results per frame is supported.
|
||||||
callback_.Run(result[0]);
|
callback_.Run(result[0]);
|
||||||
delete this;
|
delete this;
|
||||||
|
|
Loading…
Reference in a new issue