Index: mojo/examples/png_viewer/png_viewer.cc |
diff --git a/mojo/examples/png_viewer/png_viewer.cc b/mojo/examples/png_viewer/png_viewer.cc |
index 62dcd2bc8f8b273bda61e8147bf90e313849d24a..cc2cd5d88af33ae3939438d785a99ed8aa20baf9 100644 |
--- a/mojo/examples/png_viewer/png_viewer.cc |
+++ b/mojo/examples/png_viewer/png_viewer.cc |
@@ -63,12 +63,12 @@ class NavigatorImpl : public InterfaceImpl<navigation::Navigator> { |
uint32_t num_bytes = bytes_remaining; |
while (bytes_remaining > 0) { |
MojoResult result = ReadDataRaw( |
- response_details->response_body_stream.get(), |
+ response_details->response->body.get(), |
buf, |
&num_bytes, |
MOJO_READ_DATA_FLAG_NONE); |
if (result == MOJO_RESULT_SHOULD_WAIT) { |
- Wait(response_details->response_body_stream.get(), |
+ Wait(response_details->response->body.get(), |
MOJO_HANDLE_SIGNAL_READABLE, |
MOJO_DEADLINE_INDEFINITE); |
} else if (result == MOJO_RESULT_OK) { |