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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIController.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/modules/webmidi/MIDIController.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIController.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIController.cpp
index 09b3054731f6ad147dc2d826150537e6cbebad7d..60c17f2b780d9fe01a1d6aa3c5c50257ead5f8b7 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIController.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIController.cpp
@@ -50,9 +50,9 @@ MIDIController::~MIDIController()
{
}
-PassOwnPtrWillBeRawPtr<MIDIController> MIDIController::create(PassOwnPtr<MIDIClient> client)
+RawPtr<MIDIController> MIDIController::create(PassOwnPtr<MIDIClient> client)
{
- return adoptPtrWillBeNoop(new MIDIController(client));
+ return new MIDIController(client);
}
void MIDIController::requestPermission(MIDIAccessInitializer* initializer, const MIDIOptions& options)
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIController.h ('k') | third_party/WebKit/Source/modules/webmidi/MIDIInput.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698