Remove obsolete WebVector::IsEmpty().

https://chromium-review.googlesource.com/c/chromium/src/+/1482145
This commit is contained in:
deepak1556 2019-02-27 14:07:32 +05:30 committed by Samuel Attard
parent bfe876afcd
commit 457abecad6

View file

@ -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;