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

Unified Diff: third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.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/platform/graphics/test/MockImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h b/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h
index 8c64315e8bddcf53a2b54c064b8a4d63fecd4067..a99bb4680551e26e4936133969e7c44900430368 100644
--- a/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h
+++ b/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h
@@ -62,7 +62,7 @@ class MockImageDecoder : public ImageDecoder {
public:
static std::unique_ptr<MockImageDecoder> create(
MockImageDecoderClient* client) {
- return makeUnique<MockImageDecoder>(client);
+ return WTF::makeUnique<MockImageDecoder>(client);
}
MockImageDecoder(MockImageDecoderClient* client)
@@ -124,14 +124,14 @@ class MockImageDecoderFactory : public ImageDecoderFactory {
static std::unique_ptr<MockImageDecoderFactory> create(
MockImageDecoderClient* client,
const SkISize& decodedSize) {
- return wrapUnique(new MockImageDecoderFactory(
+ return WTF::wrapUnique(new MockImageDecoderFactory(
client, IntSize(decodedSize.width(), decodedSize.height())));
}
static std::unique_ptr<MockImageDecoderFactory> create(
MockImageDecoderClient* client,
const IntSize& decodedSize) {
- return wrapUnique(new MockImageDecoderFactory(client, decodedSize));
+ return WTF::wrapUnique(new MockImageDecoderFactory(client, decodedSize));
}
std::unique_ptr<ImageDecoder> create() override {

Powered by Google App Engine
This is Rietveld 408576698