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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.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/platform/fonts/shaping/ShapeResult.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
index 26a3c2592bd60cbeba80e982c74cdb9f78e46f58..540d943bde30eec6836a942eb6dcaf4ce270c1b4 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
@@ -168,7 +168,7 @@ ShapeResult::ShapeResult(const ShapeResult& other)
m_hasVerticalOffsets(other.m_hasVerticalOffsets) {
m_runs.reserveCapacity(other.m_runs.size());
for (const auto& run : other.m_runs)
- m_runs.append(wrapUnique(new ShapeResult::RunInfo(*run)));
+ m_runs.append(WTF::wrapUnique(new ShapeResult::RunInfo(*run)));
}
ShapeResult::~ShapeResult() {}
@@ -383,7 +383,7 @@ PassRefPtr<ShapeResult> ShapeResult::createForTabulationCharacters(
// Tab characters are always LTR or RTL, not TTB, even when
// isVerticalAnyUpright().
std::unique_ptr<ShapeResult::RunInfo> run =
- wrapUnique(new ShapeResult::RunInfo(
+ WTF::wrapUnique(new ShapeResult::RunInfo(
fontData, textRun.rtl() ? HB_DIRECTION_RTL : HB_DIRECTION_LTR,
HB_SCRIPT_COMMON, 0, count, count));
float position = textRun.xPos() + positionOffset;

Powered by Google App Engine
This is Rietveld 408576698