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

Unified Diff: third_party/WebKit/Source/platform/fonts/TestFontSelector.h

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, 10 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/fonts/TestFontSelector.h
diff --git a/third_party/WebKit/Source/platform/fonts/TestFontSelector.h b/third_party/WebKit/Source/platform/fonts/TestFontSelector.h
index 6a8403f908a6537e33d163b5fb7249c973a87551..fff8ac5f30ababd2dea746fa51b6539871fd52f0 100644
--- a/third_party/WebKit/Source/platform/fonts/TestFontSelector.h
+++ b/third_party/WebKit/Source/platform/fonts/TestFontSelector.h
@@ -42,11 +42,11 @@ namespace blink {
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(
+ return (new TestFontSelector(FontCustomPlatformData::create(
fontBuffer.get(), otsParseMessage)));
}

Powered by Google App Engine
This is Rietveld 408576698