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

Unified Diff: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
index 560cdf9049e3e82e25b1c3ec8cdf89104ace64f8..93b0508ee69d4272f808302404a08e48d5289130 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -201,7 +201,7 @@ inline CSSPrimitiveValue* zoomAdjustedPixelValue(double value,
void logUnimplementedPropertyID(CSSPropertyID propertyID) {
DEFINE_STATIC_LOCAL(HashSet<CSSPropertyID>, propertyIDSet, ());
- if (!propertyIDSet.add(propertyID).isNewEntry)
+ if (!propertyIDSet.insert(propertyID).isNewEntry)
return;
DLOG(ERROR) << "Blink does not yet implement getComputedStyle for '"
« no previous file with comments | « third_party/WebKit/Source/core/css/ActiveStyleSheets.cpp ('k') | third_party/WebKit/Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698