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

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

Issue 2714783002: [Presentation API] (browser side) Implement reconnect() for 1-UA mode (Closed)
Patch Set: resolve code review comments from Derek and Mark Created 3 years, 9 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
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 ccb119b60087002e38e4f80e5a7d1a903550d866..e0be4f16529395ac4a6fe96fe894b07b294dc5b5 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
@@ -441,7 +441,6 @@ void PresentationConnection::didChangeState(
switch (m_state) {
case WebPresentationConnectionState::Connecting:
- NOTREACHED();
imcheng 2017/03/16 01:42:51 Why this change?
zhaobin 2017/03/16 18:50:30 reconnect() on the same connection object will cha
return;
case WebPresentationConnectionState::Connected:
dispatchStateChangeEvent(Event::create(EventTypeNames::connect));

Powered by Google App Engine
This is Rietveld 408576698