Index: Source/modules/webmidi/MIDIPort.cpp |
diff --git a/Source/modules/webmidi/MIDIPort.cpp b/Source/modules/webmidi/MIDIPort.cpp |
index 9ffa57a6ee304e71d033344806f49e0efdc45a57..83e5800179162fd4f781ec72734d06e65b025d4a 100644 |
--- a/Source/modules/webmidi/MIDIPort.cpp |
+++ b/Source/modules/webmidi/MIDIPort.cpp |
@@ -29,7 +29,6 @@ |
*/ |
#include "config.h" |
- |
#include "modules/webmidi/MIDIPort.h" |
namespace WebCore { |
@@ -61,13 +60,13 @@ String MIDIPort::type() const |
{ |
switch (m_type) { |
case MIDIPortTypeInput: |
- return "input"; |
+ return ASCIILiteral("input"); |
case MIDIPortTypeOutput: |
- return "output"; |
+ return ASCIILiteral("output"); |
default: |
ASSERT_NOT_REACHED(); |
} |
- return ""; |
+ return emptyString(); |
} |
} // namespace WebCore |