Index: third_party/WebKit/Source/core/events/MessageEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/MessageEvent.cpp b/third_party/WebKit/Source/core/events/MessageEvent.cpp |
index f68863503c5fe8712afdf2037e2aabc218e72ac7..5fef430f20da7493a01c606e9d5c83ae34d36e93 100644 |
--- a/third_party/WebKit/Source/core/events/MessageEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/MessageEvent.cpp |
@@ -220,7 +220,7 @@ v8::Local<v8::Object> MessageEvent::associateWithWrapper(v8::Isolate* isolate, c |
// Ensures a wrapper is created for the data to return now so that V8 knows how |
// much memory is used via the wrapper. To keep the wrapper alive, it's set to |
// the wrapper of the MessageEvent as a hidden value. |
- switch (dataType()) { |
+ switch (getDataType()) { |
case MessageEvent::DataTypeScriptValue: |
case MessageEvent::DataTypeSerializedScriptValue: |
break; |