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

Unified Diff: remoting/protocol/jingle_session_manager.cc

Issue 5382008: Refactor ZLib and Verbatim encoders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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: remoting/protocol/jingle_session_manager.cc
diff --git a/remoting/protocol/jingle_session_manager.cc b/remoting/protocol/jingle_session_manager.cc
index 46367c9e0a03ace5209d0dc8f0e76df647e2ff3d..12f92982a21c23c4fa6604c54822daf9dc929f95 100644
--- a/remoting/protocol/jingle_session_manager.cc
+++ b/remoting/protocol/jingle_session_manager.cc
@@ -365,7 +365,7 @@ bool JingleSessionManager::ParseContent(
if (!ParseChannelConfig(child, false, &channel_config))
return false;
config->mutable_control_configs()->push_back(channel_config);
- child = element->NextNamed(control_tag);
+ child = child->NextNamed(control_tag);
}
// <event> tags.
@@ -376,7 +376,7 @@ bool JingleSessionManager::ParseContent(
if (!ParseChannelConfig(child, false, &channel_config))
return false;
config->mutable_event_configs()->push_back(channel_config);
- child = element->NextNamed(event_tag);
+ child = child->NextNamed(event_tag);
}
// <video> tags.
@@ -387,7 +387,7 @@ bool JingleSessionManager::ParseContent(
if (!ParseChannelConfig(child, true, &channel_config))
return false;
config->mutable_video_configs()->push_back(channel_config);
- child = element->NextNamed(video_tag);
+ child = child->NextNamed(video_tag);
}
// <initial-resolution> tag.

Powered by Google App Engine
This is Rietveld 408576698