Index: third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp |
index bb2a8ddabf81f3c0d1dc3818dd2824c1d725113c..5cad114545104c6d0209d88e7c3e82dbe5956412 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp |
@@ -198,7 +198,7 @@ void MIDIOutput::send(DOMUint8Array* array, double timestamp, ExceptionState& ex |
ASSERT(array); |
if (timestamp == 0.0) |
- timestamp = now(executionContext()); |
+ timestamp = now(getExecutionContext()); |
// Implicit open. It does nothing if the port is already opened. |
// This should be performed even if |array| is invalid. |
@@ -211,7 +211,7 @@ void MIDIOutput::send(DOMUint8Array* array, double timestamp, ExceptionState& ex |
void MIDIOutput::send(Vector<unsigned> unsignedData, double timestamp, ExceptionState& exceptionState) |
{ |
if (timestamp == 0.0) |
- timestamp = now(executionContext()); |
+ timestamp = now(getExecutionContext()); |
RefPtr<DOMUint8Array> array = DOMUint8Array::create(unsignedData.size()); |
DOMUint8Array::ValueType* const arrayData = array->data(); |