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

Unified Diff: third_party/WebKit/Source/platform/graphics/PictureSnapshot.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/graphics/PictureSnapshot.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
index 9786c3092ad9ef1acb49475a62aad6f8352e5bb3..a3d8a56b1a5f39dd9adb97b725f5367fe1175348 100644
--- a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
@@ -142,7 +142,7 @@ std::unique_ptr<Vector<char>> PictureSnapshot::replay(unsigned fromStep,
canvas.resetStepCount();
m_picture->playback(&canvas, &canvas);
}
- std::unique_ptr<Vector<char>> base64Data = makeUnique<Vector<char>>();
+ std::unique_ptr<Vector<char>> base64Data = WTF::makeUnique<Vector<char>>();
Vector<char> encodedImage;
sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap);
@@ -167,7 +167,7 @@ std::unique_ptr<PictureSnapshot::Timings> PictureSnapshot::profile(
double minDuration,
const FloatRect* clipRect) const {
std::unique_ptr<PictureSnapshot::Timings> timings =
- makeUnique<PictureSnapshot::Timings>();
+ WTF::makeUnique<PictureSnapshot::Timings>();
timings->reserveCapacity(minRepeatCount);
const SkIRect bounds = m_picture->cullRect().roundOut();
SkBitmap bitmap;

Powered by Google App Engine
This is Rietveld 408576698