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

Unified Diff: third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.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/crypto/NormalizeAlgorithm.cpp
diff --git a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
index b21a2c39c2ed8e809380b81501fe0470f22ebe87..37965d904af421f5f60792c6972ad408e02db4c8 100644
--- a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
+++ b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
@@ -344,7 +344,7 @@ bool getBigInteger(const Dictionary& raw,
if (!getUint8Array(raw, propertyName, bytes, context, error))
return false;
- if (bytes.isEmpty()) {
+ if (bytes.empty()) {
// Empty BigIntegers represent 0 according to the spec
bytes = WebVector<uint8_t>(static_cast<size_t>(1u));
DCHECK_EQ(0u, bytes[0]);

Powered by Google App Engine
This is Rietveld 408576698