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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes 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/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();

Powered by Google App Engine
This is Rietveld 408576698