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

Unified Diff: chrome/renderer/render_view.cc

Issue 20015: Make it easier to create new IPC channel types (i.e. renderer/plugin). Inste... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
« no previous file with comments | « chrome/plugin/webplugin_delegate_stub.h ('k') | chrome/renderer/render_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 9103)
+++ chrome/renderer/render_view.cc (working copy)
@@ -454,12 +454,7 @@
return;
// send the thumbnail message to the browser process
- IPC::Message* thumbnail_msg = new IPC::Message(routing_id_,
- ViewHostMsg_Thumbnail::ID, IPC::Message::PRIORITY_NORMAL);
- IPC::ParamTraits<GURL>::Write(thumbnail_msg, url);
- IPC::ParamTraits<ThumbnailScore>::Write(thumbnail_msg, score);
- IPC::ParamTraits<SkBitmap>::Write(thumbnail_msg, thumbnail);
- Send(thumbnail_msg);
+ Send(new ViewHostMsg_Thumbnail(routing_id_, url, score, thumbnail));
}
int RenderView::SwitchFrameToPrintMediaType(const ViewMsg_Print_Params& params,
« no previous file with comments | « chrome/plugin/webplugin_delegate_stub.h ('k') | chrome/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698