Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.h |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h |
index 323c6a38f42c7c8e9b28cb3241ff5f630d0f2e07..c6fa64bc397df62d765ca7c2a25fa6f1f1640e2c 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h |
@@ -114,6 +114,10 @@ class PresentationConnection final : public EventTargetWithInlineData, |
void didFinishLoadingBlob(DOMArrayBuffer*); |
void didFailLoadingBlob(FileError::ErrorCode); |
+ // Internal helper function to dispatch state change events asynchronously. |
+ void dispatchStateChangeEvent(Event*); |
+ static void dispatchEventAsync(EventTarget*, Event*); |
+ |
// Cancel loads and pending messages when the connection is closed. |
void tearDown(); |