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

Unified Diff: third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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/testing/FontTestHelpers.cpp
diff --git a/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp b/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
index 79886328597081e8db0cb3d9cc5fef837132ed22..93a91866c70d0e960935c3e07e64147e54d628d9 100644
--- a/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
+++ b/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
@@ -20,12 +20,12 @@ namespace {
class TestFontSelector : public FontSelector {
public:
- static PassRefPtrWillBeRawPtr<TestFontSelector> create(const String& path)
+ static RawPtr<TestFontSelector> create(const String& path)
{
RefPtr<SharedBuffer> fontBuffer = testing::readFromFile(path);
String otsParseMessage;
- return adoptRefWillBeNoop(new TestFontSelector(FontCustomPlatformData::create(
- fontBuffer.get(), otsParseMessage)));
+ return new TestFontSelector(FontCustomPlatformData::create(
+ fontBuffer.get(), otsParseMessage));
}
~TestFontSelector() override { }
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.cpp ('k') | third_party/WebKit/Source/platform/text/TextCheckerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698