Chromium Code Reviews| Index: Source/platform/mediastream/MediaStreamCenter.cpp |
| diff --git a/Source/platform/mediastream/MediaStreamCenter.cpp b/Source/platform/mediastream/MediaStreamCenter.cpp |
| index d5bc111c945dc72fdefbd3b827a79a25cf179257..1479c2a9f09775189399ef26d9735dbcf7ac3bca 100644 |
| --- a/Source/platform/mediastream/MediaStreamCenter.cpp |
| +++ b/Source/platform/mediastream/MediaStreamCenter.cpp |
| @@ -141,7 +141,7 @@ void MediaStreamCenter::stopLocalMediaStream(const WebMediaStream& webStream) |
| if (client) |
| client->streamEnded(); |
| else |
| - stream->setEnded(); |
| + stream->setActive(false); |
|
perkj_chrome
2015/01/13 08:24:31
Shouldn't you keep setEnded here? MediaStream.Stop
jiajia.qin
2015/01/13 08:52:45
Agree. I will leave this unchanged.
|
| } |
| } // namespace blink |