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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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: Source/modules/webmidi/MIDIOutput.cpp
diff --git a/Source/modules/webmidi/MIDIOutput.cpp b/Source/modules/webmidi/MIDIOutput.cpp
index 9806db15328881dabb244e521be473b091b90e4a..44b3d77e780610f7efe189f3ad622ceee919cba2 100644
--- a/Source/modules/webmidi/MIDIOutput.cpp
+++ b/Source/modules/webmidi/MIDIOutput.cpp
@@ -31,7 +31,6 @@
#include "config.h"
#include "modules/webmidi/MIDIOutput.h"
-#include "bindings/v8/ExceptionMessages.h"
#include "bindings/v8/ExceptionState.h"
#include "core/dom/ExceptionCode.h"
#include "modules/webmidi/MIDIAccess.h"
@@ -69,7 +68,7 @@ void MIDIOutput::send(Uint8Array* array, double timestamp, ExceptionState& excep
// Filter out System Exclusive messages if we're not allowed.
// FIXME: implement more extensive filtering.
if (length > 0 && data[0] >= 0xf0 && !m_access->sysExEnabled()) {
- exceptionState.throwSecurityError(ExceptionMessages::failedToExecute("send", "MIDIOutput", "permission to send system exclusive messages is denied."));
+ exceptionState.throwSecurityError("permission to send system exclusive messages is denied.");
return;
}
« no previous file with comments | « Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp ('k') | Source/modules/websockets/WebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698