Index: Source/modules/webmidi/MIDIOutput.cpp |
diff --git a/Source/modules/webmidi/MIDIOutput.cpp b/Source/modules/webmidi/MIDIOutput.cpp |
index 872e52debdf0bb2ef51607b72b8f4d1d23e2e416..32cafa3e9a8e7fc6eba3c84d3b4b4d4ef763d524 100644 |
--- a/Source/modules/webmidi/MIDIOutput.cpp |
+++ b/Source/modules/webmidi/MIDIOutput.cpp |
@@ -45,7 +45,7 @@ namespace { |
double now(ExecutionContext* context) |
{ |
DOMWindow* window = context ? context->executingWindow() : 0; |
- Performance* performance = window ? window->performance() : 0; |
+ Performance* performance = window ? &window->performance() : 0; |
return performance ? performance->now() : 0.0; |
} |