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

Unified Diff: Source/web/WebMIDIClientMock.cpp

Issue 574283004: Fix shared libary build for content_browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updated Created 6 years, 3 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 | public/web/WebMIDIClientMock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebMIDIClientMock.cpp
diff --git a/Source/web/WebMIDIClientMock.cpp b/Source/web/WebMIDIClientMock.cpp
index 309dcee4e9989690d05ceb44f2050a002975502c..4aa31ec28ff8874dbc73ca38598dc60ff6e04d38 100644
--- a/Source/web/WebMIDIClientMock.cpp
+++ b/Source/web/WebMIDIClientMock.cpp
@@ -42,6 +42,11 @@ WebMIDIClientMock::WebMIDIClientMock()
m_clientMock.reset(new MIDIClientMock());
}
+WebMIDIClientMock::~WebMIDIClientMock()
+{
+ m_clientMock.reset(0);
+}
+
void WebMIDIClientMock::setSysexPermission(bool allowed)
{
m_clientMock->setSysexPermission(allowed);
@@ -62,9 +67,4 @@ void WebMIDIClientMock::cancelSysexPermissionRequest(const WebMIDIPermissionRequ
m_clientMock->cancelSysexPermissionRequest(request.midiAccessInitializer());
}
-void WebMIDIClientMock::reset()
-{
- m_clientMock.reset(0);
-}
-
} // namespace blink
« no previous file with comments | « no previous file | public/web/WebMIDIClientMock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698