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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintProperties.h

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/paint/ObjectPaintProperties.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
index ba7540160dcd65a9785e7d4eb5b2c6af630dbf29..a85f4ab2df70505ba856ed0b085898c24b1dfa0d 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
@@ -33,7 +33,7 @@ class CORE_EXPORT ObjectPaintProperties {
public:
static std::unique_ptr<ObjectPaintProperties> create() {
- return wrapUnique(new ObjectPaintProperties());
+ return WTF::wrapUnique(new ObjectPaintProperties());
}
// The hierarchy of the transform subtree created by a LayoutObject is as
@@ -137,8 +137,8 @@ class CORE_EXPORT ObjectPaintProperties {
m_localBorderBoxProperties->propertyTreeState.setEffect(effect);
m_localBorderBoxProperties->propertyTreeState.setScroll(scroll);
} else {
- m_localBorderBoxProperties =
- wrapUnique(new ObjectPaintProperties::PropertyTreeStateWithOffset(
+ m_localBorderBoxProperties = WTF::wrapUnique(
+ new ObjectPaintProperties::PropertyTreeStateWithOffset(
paintOffset, PropertyTreeState(transform, clip, effect, scroll)));
}
}
@@ -278,7 +278,7 @@ class CORE_EXPORT ObjectPaintProperties {
if (m_localBorderBoxProperties) {
auto& state = m_localBorderBoxProperties->propertyTreeState;
cloned->m_localBorderBoxProperties =
- wrapUnique(new PropertyTreeStateWithOffset(
+ WTF::wrapUnique(new PropertyTreeStateWithOffset(
m_localBorderBoxProperties->paintOffset,
PropertyTreeState(state.transform(), state.clip(), state.effect(),
state.scroll())));
« no previous file with comments | « third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698