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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.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/modules/cachestorage/InspectorCacheStorageAgent.cpp
diff --git a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
index 0083b340361a8b6edb48671905ce3564b06908ba..5f30879d9db0367836870c59b6b70e8351dce47c 100644
--- a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
+++ b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
@@ -266,7 +266,7 @@ class GetCacheKeysForRequestData
WebServiceWorkerCache* cache() { return m_cache.get(); }
void onSuccess(const WebVector<WebServiceWorkerRequest>& requests) override {
- if (requests.isEmpty()) {
+ if (requests.empty()) {
std::unique_ptr<Array<DataEntry>> array = Array<DataEntry>::create();
m_callback->sendSuccess(std::move(array), false);
return;
« no previous file with comments | « media/blink/key_system_config_selector.cc ('k') | third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698