Index: content/browser/resources/media/peer_connection_update_table.js |
diff --git a/content/browser/resources/media/peer_connection_update_table.js b/content/browser/resources/media/peer_connection_update_table.js |
index d6795d59c005088d7abf3d1fa23c8bbfade8f912..167929f6c0f86d5be1ce1d82340cc523eac0b7b8 100644 |
--- a/content/browser/resources/media/peer_connection_update_table.js |
+++ b/content/browser/resources/media/peer_connection_update_table.js |
@@ -129,28 +129,28 @@ var PeerConnectionUpdateTable = (function() { |
// change the JSON dump. |
if (update.type === 'iceConnectionStateChange') { |
value = { |
- ICEConnectionStateNew: 'new', |
- ICEConnectionStateChecking: 'checking', |
- ICEConnectionStateConnected: 'connected', |
- ICEConnectionStateCompleted: 'completed', |
- ICEConnectionStateFailed: 'failed', |
- ICEConnectionStateDisconnected: 'disconnected', |
- ICEConnectionStateClosed: 'closed', |
+ kICEConnectionStateNew: 'new', |
+ kICEConnectionStateChecking: 'checking', |
+ kICEConnectionStateConnected: 'connected', |
+ kICEConnectionStateCompleted: 'completed', |
+ kICEConnectionStateFailed: 'failed', |
+ kICEConnectionStateDisconnected: 'disconnected', |
+ kICEConnectionStateClosed: 'closed', |
}[value] || value; |
} else if (update.type === 'iceGatheringStateChange') { |
value = { |
- ICEGatheringStateNew: 'new', |
- ICEGatheringStateGathering: 'gathering', |
- ICEGatheringStateComplete: 'complete', |
+ kICEGatheringStateNew: 'new', |
+ kICEGatheringStateGathering: 'gathering', |
+ kICEGatheringStateComplete: 'complete', |
}[value] || value; |
} else if (update.type === 'signalingStateChange') { |
value = { |
- SignalingStateStable: 'stable', |
- SignalingStateHaveLocalOffer: 'have-local-offer', |
- SignalingStateHaveRemoteOffer: 'have-remote-offer', |
- SignalingStateHaveLocalPrAnswer: 'have-local-pranswer', |
- SignalingStateHaveRemotePrAnswer: 'have-remote-pranswer', |
- SignalingStateClosed: 'closed', |
+ kSignalingStateStable: 'stable', |
+ kSignalingStateHaveLocalOffer: 'have-local-offer', |
+ kSignalingStateHaveRemoteOffer: 'have-remote-offer', |
+ kSignalingStateHaveLocalPrAnswer: 'have-local-pranswer', |
+ kSignalingStateHaveRemotePrAnswer: 'have-remote-pranswer', |
+ kSignalingStateClosed: 'closed', |
}[value] || value; |
} |