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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp

Issue 2691773002: [Presentation API] Remove state transition from PresentationConnection::take() (Closed)
Patch Set: update layout test to check initial state of presentation connection Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/LayoutTests/presentation/presentation-start.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
index 066f24a98e0235baa9b18fd619f94f9a4405db3a..8de73c9597708d1eab3610dcf2aebe3f174800d2 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
@@ -209,9 +209,6 @@ PresentationConnection* PresentationConnection::take(
createSameThreadTask(&PresentationConnection::dispatchEventAsync,
wrapPersistent(request), wrapPersistent(event)));
- // Fire onconnect event asynchronously, after onconnectionavailable.
- connection->didChangeState(WebPresentationConnectionState::Connected);
-
return connection;
}
« no previous file with comments | « third_party/WebKit/LayoutTests/presentation/presentation-start.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698