Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp

Issue 2799563002: Replace usage of WebVector::isEmpty with WebVector::empty().
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp b/third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp
index fa5445b7b161ca5fbb337fd4edd3a36bbd15c7d6..d891ffe95960fd4702540c79ab43ebbf17f31164 100644
--- a/third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp
+++ b/third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp
@@ -23,7 +23,7 @@ class ScriptExecutionCallbackHelper : public WebScriptExecutionCallback {
private:
void completed(const WebVector<v8::Local<v8::Value>>& values) override {
- if (!values.isEmpty() && !values[0].IsEmpty() && values[0]->IsString()) {
+ if (!values.empty() && !values[0].IsEmpty() && values[0]->IsString()) {
m_result = toCoreString(v8::Local<v8::String>::Cast(values[0]));
}
}
« no previous file with comments | « third_party/WebKit/Source/platform/WebVectorTest.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698