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

Unified Diff: Source/modules/webmidi/MIDIClient.h

Issue 220333003: Apply OwnPtr|PassOwnPtr to handle member variables and arguments in MIDIClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix a unit test #2 Created 6 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
« no previous file with comments | « no previous file | Source/modules/webmidi/MIDIController.h » ('j') | Source/modules/webmidi/MIDIController.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIClient.h
diff --git a/Source/modules/webmidi/MIDIClient.h b/Source/modules/webmidi/MIDIClient.h
index 34761fc398a8aa4d2db39b503891b8d3ea44843b..970236cb0fa023c2b53c02c7a4d9088c79115c78 100644
--- a/Source/modules/webmidi/MIDIClient.h
+++ b/Source/modules/webmidi/MIDIClient.h
@@ -43,11 +43,10 @@ public:
virtual void requestSysexPermission(PassRefPtrWillBeRawPtr<MIDIAccess>) = 0;
virtual void cancelSysexPermissionRequest(MIDIAccess*) = 0;
-protected:
virtual ~MIDIClient() { }
};
-void provideMIDITo(Page&, MIDIClient*);
+void provideMIDITo(Page&, PassOwnPtr<MIDIClient>);
} // namespace WebCore
« no previous file with comments | « no previous file | Source/modules/webmidi/MIDIController.h » ('j') | Source/modules/webmidi/MIDIController.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698