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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index 2d4959bde22384e33c27b5ef460080eceecc1783..58f6dcf39ee725527096d5000650d1a7f1d1cbc1 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -479,7 +479,7 @@ ComputedStyle* ComputedStyle::addCachedPseudoStyle(
ComputedStyle* result = pseudo.get();
if (!m_cachedPseudoStyles)
- m_cachedPseudoStyles = wrapUnique(new PseudoStyleCache);
+ m_cachedPseudoStyles = WTF::wrapUnique(new PseudoStyleCache);
m_cachedPseudoStyles->append(pseudo);
@@ -1141,7 +1141,7 @@ void ComputedStyle::updatePropertySpecificDifferences(
void ComputedStyle::addPaintImage(StyleImage* image) {
if (!m_rareNonInheritedData.access()->m_paintImages) {
m_rareNonInheritedData.access()->m_paintImages =
- makeUnique<Vector<Persistent<StyleImage>>>();
+ WTF::makeUnique<Vector<Persistent<StyleImage>>>();
}
m_rareNonInheritedData.access()->m_paintImages->append(image);
}
@@ -1564,7 +1564,7 @@ CounterDirectiveMap& ComputedStyle::accessCounterDirectives() {
std::unique_ptr<CounterDirectiveMap>& map =
m_rareNonInheritedData.access()->m_counterDirectives;
if (!map)
- map = wrapUnique(new CounterDirectiveMap);
+ map = WTF::wrapUnique(new CounterDirectiveMap);
return *map;
}
« no previous file with comments | « third_party/WebKit/Source/core/style/ClipPathOperation.h ('k') | third_party/WebKit/Source/core/style/ContentData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698